From 9fd523012b1a1a4f558714045940981d774b7e7f Mon Sep 17 00:00:00 2001 From: Xi Xia Date: Thu, 7 Jan 2021 12:51:22 -0800 Subject: [PATCH] remove deprecated Api --- .../telemetry/SenderConfiguration.java | 32 ------------------- 1 file changed, 32 deletions(-) diff --git a/telemetry-core/src/main/java/com/newrelic/telemetry/SenderConfiguration.java b/telemetry-core/src/main/java/com/newrelic/telemetry/SenderConfiguration.java index ac6ca1fc..1669cb58 100644 --- a/telemetry-core/src/main/java/com/newrelic/telemetry/SenderConfiguration.java +++ b/telemetry-core/src/main/java/com/newrelic/telemetry/SenderConfiguration.java @@ -88,38 +88,6 @@ public SenderConfigurationBuilder httpPoster(HttpPoster httpPoster) { return this; } - /** - * Configure the endpoint for data to be sent to. The default path will be used. - * - *

To be removed in 0.8.0 - * - * @param scheme A valid URL scheme, such as "https" - * @param host The host portion of the URL. - * @param port The port portion of the URL. - * @return this builder. - * @throws MalformedURLException If a valid URL cannot be constructed from the pieces provided. - * @deprecated call the simpler endpoint(URL) method with the full URL instead - */ - @Deprecated - public SenderConfigurationBuilder endpoint(String scheme, String host, int port) - throws MalformedURLException { - return endpointWithPath(new URL(scheme, host, port, basePath)); - } - - /** - * Configure the *full* endpoint URL for data to be sent to, including the path. - * - *

To be removed in 0.8.0 - * - * @deprecated call the simpler endpoint() method instead - * @param endpointUrl A full {@link URL}, including the path. - * @return this builder. - */ - @Deprecated - public SenderConfigurationBuilder endpointWithPath(URL endpointUrl) { - return endpoint(endpointUrl); - } - /** * Configure the *full* endpoint URL for data to be sent to, including the path. You should only * use this method if you wish to modify the default behavior, which is to send data to the