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
*/
@Deprecated
@ThreadSafe
public class BrowserCompatSpec extends CookieSpecBase {

View File

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

View File

@ -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");

View File

@ -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");