diff --git a/sdk/core/azure-core/src/main/java/com/azure/core/http/policy/UserAgentPolicy.java b/sdk/core/azure-core/src/main/java/com/azure/core/http/policy/UserAgentPolicy.java index eb76dce89bc9..a3ed93973896 100644 --- a/sdk/core/azure-core/src/main/java/com/azure/core/http/policy/UserAgentPolicy.java +++ b/sdk/core/azure-core/src/main/java/com/azure/core/http/policy/UserAgentPolicy.java @@ -91,8 +91,6 @@ public UserAgentPolicy(String applicationId, String sdkName, String sdkVersion, *

If the passed configuration contains true for AZURE_TELEMETRY_DISABLED the platform information won't be * included in the user agent.

* - * @deprecated This method has been deprecated in favor of {@link - * #UserAgentPolicy(String, String, String, Configuration)}. * @param sdkName Name of the client library. * @param sdkVersion Version of the client library. * @param version {@link ServiceVersion} of the service to be used when making requests. @@ -100,7 +98,6 @@ public UserAgentPolicy(String applicationId, String sdkName, String sdkVersion, * Configuration#PROPERTY_AZURE_TELEMETRY_DISABLED}. If {@code null} is passed the {@link * Configuration#getGlobalConfiguration() global configuration} will be checked. */ - @Deprecated public UserAgentPolicy(String sdkName, String sdkVersion, Configuration configuration, ServiceVersion version) { this.userAgent = buildUserAgent(null, sdkName, sdkVersion, configuration); }