Add missing @Deprecated annotations.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1726958 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary D. Gregory 2016-01-27 08:43:17 +00:00
parent 517e64778f
commit fb27bd7353
4 changed files with 4 additions and 0 deletions

View File

@ -60,6 +60,7 @@ import org.apache.http.util.CharArrayBuffer;
* *
* @since 4.0 * @since 4.0
*/ */
@Deprecated
@ThreadSafe @ThreadSafe
public class BrowserCompatSpec extends CookieSpecBase { public class BrowserCompatSpec extends CookieSpecBase {

View File

@ -41,6 +41,7 @@ import org.apache.http.util.Args;
* *
* @since 4.3 * @since 4.3
*/ */
@Deprecated
@Immutable @Immutable
public class BrowserCompatVersionAttributeHandler extends public class BrowserCompatVersionAttributeHandler extends
AbstractCookieAttributeHandler implements CommonCookieAttributeHandler { AbstractCookieAttributeHandler implements CommonCookieAttributeHandler {

View File

@ -61,6 +61,7 @@ public class NTCredentials implements Credentials, Serializable {
* @param usernamePassword the domain/username:password formed string * @param usernamePassword the domain/username:password formed string
* @deprecated (4.5) will be replaced with {@code String}, {@code char[]} in 5.0 * @deprecated (4.5) will be replaced with {@code String}, {@code char[]} in 5.0
*/ */
@Deprecated
public NTCredentials(final String usernamePassword) { public NTCredentials(final String usernamePassword) {
super(); super();
Args.notNull(usernamePassword, "Username:password string"); Args.notNull(usernamePassword, "Username:password string");

View File

@ -54,6 +54,7 @@ public class UsernamePasswordCredentials implements Credentials, Serializable {
* @see #toString * @see #toString
* @deprecated (4.5) will be replaced with {@code String}, {@code char[]} in 5.0 * @deprecated (4.5) will be replaced with {@code String}, {@code char[]} in 5.0
*/ */
@Deprecated
public UsernamePasswordCredentials(final String usernamePassword) { public UsernamePasswordCredentials(final String usernamePassword) {
super(); super();
Args.notNull(usernamePassword, "Username:password string"); Args.notNull(usernamePassword, "Username:password string");