code: @Deprecated
      public void setEndpoint(String endpoint) {
          if (config.delivery instanceof HttpDelivery) {
              ((HttpDelivery) config.delivery).setEndpoint(endpoint);
          }
      }
docs: Set the endpoint to deliver Bugsnag errors report to. This is a convenient
  shorthand for bugsnag.getDelivery().setEndpoint();
  
  @param endpoint the endpoint to send reports to
  @see #setDelivery
  @deprecated use {@link Configuration#setEndpoints(String, String)} instead