code: protected void removeDestination(DestinationHandler dh)
      {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.entry(tc, "removeDestination", dh);
  
          if (dh.isLink())
          {
              if (linkIndex.containsKey(dh))
              {
                  linkIndex.remove(dh);
              }
          }
          else
          {
              if (destinationIndex.containsKey(dh))
              {
                  destinationIndex.remove(dh);
              }
          }
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.exit(tc, "removeDestination");
      }
docs: Remove the given destination from the DestinationManager.
  
  This will only be a BaseDestinationHandler removing either a link
  or a destination.
  
  @param dh The DestinationHandler to remove.