diff --git a/httpclient/src/main/java-deprecated/org/apache/http/impl/cookie/BrowserCompatSpec.java b/httpclient/src/main/java-deprecated/org/apache/http/impl/cookie/BrowserCompatSpec.java index 7b2012336..46d834d5e 100644 --- a/httpclient/src/main/java-deprecated/org/apache/http/impl/cookie/BrowserCompatSpec.java +++ b/httpclient/src/main/java-deprecated/org/apache/http/impl/cookie/BrowserCompatSpec.java @@ -60,6 +60,7 @@ import org.apache.http.util.CharArrayBuffer; * * @since 4.0 */ +@Deprecated @ThreadSafe public class BrowserCompatSpec extends CookieSpecBase { diff --git a/httpclient/src/main/java-deprecated/org/apache/http/impl/cookie/BrowserCompatVersionAttributeHandler.java b/httpclient/src/main/java-deprecated/org/apache/http/impl/cookie/BrowserCompatVersionAttributeHandler.java index c4c389faa..387259ca8 100644 --- a/httpclient/src/main/java-deprecated/org/apache/http/impl/cookie/BrowserCompatVersionAttributeHandler.java +++ b/httpclient/src/main/java-deprecated/org/apache/http/impl/cookie/BrowserCompatVersionAttributeHandler.java @@ -41,6 +41,7 @@ import org.apache.http.util.Args; * * @since 4.3 */ +@Deprecated @Immutable public class BrowserCompatVersionAttributeHandler extends AbstractCookieAttributeHandler implements CommonCookieAttributeHandler { diff --git a/httpclient/src/main/java/org/apache/http/auth/NTCredentials.java b/httpclient/src/main/java/org/apache/http/auth/NTCredentials.java index 3ce343fb3..430eb2d0b 100644 --- a/httpclient/src/main/java/org/apache/http/auth/NTCredentials.java +++ b/httpclient/src/main/java/org/apache/http/auth/NTCredentials.java @@ -61,6 +61,7 @@ public class NTCredentials implements Credentials, Serializable { * @param usernamePassword the domain/username:password formed string * @deprecated (4.5) will be replaced with {@code String}, {@code char[]} in 5.0 */ + @Deprecated public NTCredentials(final String usernamePassword) { super(); Args.notNull(usernamePassword, "Username:password string"); diff --git a/httpclient/src/main/java/org/apache/http/auth/UsernamePasswordCredentials.java b/httpclient/src/main/java/org/apache/http/auth/UsernamePasswordCredentials.java index e31d036f3..b593b2472 100644 --- a/httpclient/src/main/java/org/apache/http/auth/UsernamePasswordCredentials.java +++ b/httpclient/src/main/java/org/apache/http/auth/UsernamePasswordCredentials.java @@ -54,6 +54,7 @@ public class UsernamePasswordCredentials implements Credentials, Serializable { * @see #toString * @deprecated (4.5) will be replaced with {@code String}, {@code char[]} in 5.0 */ + @Deprecated public UsernamePasswordCredentials(final String usernamePassword) { super(); Args.notNull(usernamePassword, "Username:password string");