Add missing '@Override' annotations.
Add missing '@Deprecated' annotations. git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1432551 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
25d752996e
commit
323adda52e
|
@ -66,7 +66,8 @@ public abstract class AuthSchemeBase implements ContextAwareAuthScheme {
|
|||
*
|
||||
* @deprecated (4.3) do not use.
|
||||
*/
|
||||
public AuthSchemeBase(final ChallengeState challengeState) {
|
||||
@Deprecated
|
||||
public AuthSchemeBase(final ChallengeState challengeState) {
|
||||
super();
|
||||
this.challengeState = challengeState;
|
||||
}
|
||||
|
|
|
@ -65,7 +65,8 @@ public class SystemDefaultRoutePlanner extends DefaultRoutePlanner {
|
|||
this.proxySelector = proxySelector != null ? proxySelector : ProxySelector.getDefault();
|
||||
}
|
||||
|
||||
protected HttpHost determineProxy(
|
||||
@Override
|
||||
protected HttpHost determineProxy(
|
||||
final HttpHost target,
|
||||
final HttpRequest request,
|
||||
final HttpContext context) throws HttpException {
|
||||
|
|
|
@ -63,7 +63,8 @@ public class ByteArrayBody extends AbstractContentBody {
|
|||
* @deprecated (4.3) use {@link ByteArrayBody#ByteArrayBody(byte[], ContentType, String)}
|
||||
* or {@link MultipartEntityBuilder}
|
||||
*/
|
||||
public ByteArrayBody(final byte[] data, final String mimeType, final String filename) {
|
||||
@Deprecated
|
||||
public ByteArrayBody(final byte[] data, final String mimeType, final String filename) {
|
||||
this(data, ContentType.create(mimeType), filename);
|
||||
}
|
||||
|
||||
|
@ -95,7 +96,8 @@ public class ByteArrayBody extends AbstractContentBody {
|
|||
out.write(data);
|
||||
}
|
||||
|
||||
public String getCharset() {
|
||||
@Override
|
||||
public String getCharset() {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
|
@ -54,7 +54,8 @@ public class InputStreamBody extends AbstractContentBody {
|
|||
* @deprecated (4.3) use {@link InputStreamBody#InputStreamBody(InputStream, ContentType,
|
||||
* String)} or {@link MultipartEntityBuilder}
|
||||
*/
|
||||
public InputStreamBody(final InputStream in, final String mimeType, final String filename) {
|
||||
@Deprecated
|
||||
public InputStreamBody(final InputStream in, final String mimeType, final String filename) {
|
||||
this(in, ContentType.create(mimeType), filename);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue