From 19c10ca4889995f675d7e17491ab2b384cc87664 Mon Sep 17 00:00:00 2001 From: Oleg Kalnichevski Date: Sun, 13 Jan 2013 20:41:07 +0000 Subject: [PATCH] Fixed style check violations (tabs introduced by a previous commit) git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1432730 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/java/org/apache/http/impl/auth/AuthSchemeBase.java | 2 +- .../org/apache/http/impl/conn/SystemDefaultRoutePlanner.java | 2 +- .../org/apache/http/entity/mime/content/ByteArrayBody.java | 4 ++-- .../org/apache/http/entity/mime/content/InputStreamBody.java | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/httpclient/src/main/java/org/apache/http/impl/auth/AuthSchemeBase.java b/httpclient/src/main/java/org/apache/http/impl/auth/AuthSchemeBase.java index acd772627..d0125be15 100644 --- a/httpclient/src/main/java/org/apache/http/impl/auth/AuthSchemeBase.java +++ b/httpclient/src/main/java/org/apache/http/impl/auth/AuthSchemeBase.java @@ -67,7 +67,7 @@ public abstract class AuthSchemeBase implements ContextAwareAuthScheme { * @deprecated (4.3) do not use. */ @Deprecated - public AuthSchemeBase(final ChallengeState challengeState) { + public AuthSchemeBase(final ChallengeState challengeState) { super(); this.challengeState = challengeState; } diff --git a/httpclient/src/main/java/org/apache/http/impl/conn/SystemDefaultRoutePlanner.java b/httpclient/src/main/java/org/apache/http/impl/conn/SystemDefaultRoutePlanner.java index e2fa92ba8..95fc36442 100644 --- a/httpclient/src/main/java/org/apache/http/impl/conn/SystemDefaultRoutePlanner.java +++ b/httpclient/src/main/java/org/apache/http/impl/conn/SystemDefaultRoutePlanner.java @@ -66,7 +66,7 @@ public class SystemDefaultRoutePlanner extends DefaultRoutePlanner { } @Override - protected HttpHost determineProxy( + protected HttpHost determineProxy( final HttpHost target, final HttpRequest request, final HttpContext context) throws HttpException { diff --git a/httpmime/src/main/java/org/apache/http/entity/mime/content/ByteArrayBody.java b/httpmime/src/main/java/org/apache/http/entity/mime/content/ByteArrayBody.java index 3eb7e05df..ef95ecfae 100644 --- a/httpmime/src/main/java/org/apache/http/entity/mime/content/ByteArrayBody.java +++ b/httpmime/src/main/java/org/apache/http/entity/mime/content/ByteArrayBody.java @@ -64,7 +64,7 @@ public class ByteArrayBody extends AbstractContentBody { * or {@link MultipartEntityBuilder} */ @Deprecated - public ByteArrayBody(final byte[] data, final String mimeType, final String filename) { + public ByteArrayBody(final byte[] data, final String mimeType, final String filename) { this(data, ContentType.create(mimeType), filename); } @@ -97,7 +97,7 @@ public class ByteArrayBody extends AbstractContentBody { } @Override - public String getCharset() { + public String getCharset() { return null; } diff --git a/httpmime/src/main/java/org/apache/http/entity/mime/content/InputStreamBody.java b/httpmime/src/main/java/org/apache/http/entity/mime/content/InputStreamBody.java index c6e5e00ad..533187686 100644 --- a/httpmime/src/main/java/org/apache/http/entity/mime/content/InputStreamBody.java +++ b/httpmime/src/main/java/org/apache/http/entity/mime/content/InputStreamBody.java @@ -55,7 +55,7 @@ public class InputStreamBody extends AbstractContentBody { * String)} or {@link MultipartEntityBuilder} */ @Deprecated - public InputStreamBody(final InputStream in, final String mimeType, final String filename) { + public InputStreamBody(final InputStream in, final String mimeType, final String filename) { this(in, ContentType.create(mimeType), filename); }