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:
parent
517e64778f
commit
fb27bd7353
|
@ -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 {
|
||||||
|
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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");
|
||||||
|
|
|
@ -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");
|
||||||
|
|
Loading…
Reference in New Issue