diff --git a/httpclient/src/main/java/org/apache/http/auth/AuthScheme.java b/httpclient/src/main/java/org/apache/http/auth/AuthScheme.java index 6b5cb6128..1072b862b 100644 --- a/httpclient/src/main/java/org/apache/http/auth/AuthScheme.java +++ b/httpclient/src/main/java/org/apache/http/auth/AuthScheme.java @@ -95,7 +95,7 @@ public interface AuthScheme { * Tests if the authentication scheme is provides authorization on a per * connection basis instead of usual per request basis * - * @return {@code true if the scheme is connection based, false} + * @return {@code true} if the scheme is connection based, {@code false} * if the scheme is request based. */ boolean isConnectionBased(); diff --git a/httpclient/src/main/java/org/apache/http/auth/AuthScope.java b/httpclient/src/main/java/org/apache/http/auth/AuthScope.java index 9a8d50058..dc1e18cca 100644 --- a/httpclient/src/main/java/org/apache/http/auth/AuthScope.java +++ b/httpclient/src/main/java/org/apache/http/auth/AuthScope.java @@ -89,7 +89,7 @@ public class AuthScope { private final HttpHost origin; /** - * Defines auth scope with the given {@code host, port, realm}, and + * Defines auth scope with the given {@code host}, {@code port}, {@code realm}, and * {@code authentication scheme}. * * @param host authentication host. May be {@link #ANY_HOST} if applies @@ -148,7 +148,7 @@ public class AuthScope { } /** - * Defines auth scope with the given {@code host, port and realm}. + * Defines auth scope with the given {@code host}, {@code port} and {@code realm}. * * @param host authentication host. May be {@link #ANY_HOST} if applies * to any host. @@ -162,7 +162,7 @@ public class AuthScope { } /** - * Defines auth scope with the given {@code host and port}. + * Defines auth scope with the given {@code host} and {@code port}. * * @param host authentication host. May be {@link #ANY_HOST} if applies * to any host. diff --git a/httpclient/src/main/java/org/apache/http/auth/AuthenticationException.java b/httpclient/src/main/java/org/apache/http/auth/AuthenticationException.java index 5c2f716a3..8d8e34c63 100644 --- a/httpclient/src/main/java/org/apache/http/auth/AuthenticationException.java +++ b/httpclient/src/main/java/org/apache/http/auth/AuthenticationException.java @@ -60,7 +60,7 @@ public class AuthenticationException extends ProtocolException { * Creates a new AuthenticationException with the specified detail message and cause. * * @param message the exception detail message - * @param cause the {@code Throwable that caused this exception, or null} + * @param cause the {@code Throwable} that caused this exception, or {@code null} * if the cause is unavailable, unknown, or not a {@code Throwable} */ public AuthenticationException(final String message, final Throwable cause) { diff --git a/httpclient/src/main/java/org/apache/http/auth/InvalidCredentialsException.java b/httpclient/src/main/java/org/apache/http/auth/InvalidCredentialsException.java index ee5e9a776..e357241c1 100644 --- a/httpclient/src/main/java/org/apache/http/auth/InvalidCredentialsException.java +++ b/httpclient/src/main/java/org/apache/http/auth/InvalidCredentialsException.java @@ -60,7 +60,7 @@ public class InvalidCredentialsException extends AuthenticationException { * Creates a new InvalidCredentialsException with the specified detail message and cause. * * @param message the exception detail message - * @param cause the {@code Throwable that caused this exception, or null} + * @param cause the {@code Throwable} that caused this exception, or {@code null} * if the cause is unavailable, unknown, or not a {@code Throwable} */ public InvalidCredentialsException(final String message, final Throwable cause) { diff --git a/httpclient/src/main/java/org/apache/http/auth/MalformedChallengeException.java b/httpclient/src/main/java/org/apache/http/auth/MalformedChallengeException.java index ac1e01305..172ba0c6e 100644 --- a/httpclient/src/main/java/org/apache/http/auth/MalformedChallengeException.java +++ b/httpclient/src/main/java/org/apache/http/auth/MalformedChallengeException.java @@ -61,7 +61,7 @@ public class MalformedChallengeException extends ProtocolException { * Creates a new MalformedChallengeException with the specified detail message and cause. * * @param message the exception detail message - * @param cause the {@code Throwable that caused this exception, or null} + * @param cause the {@code Throwable} that caused this exception, or {@code null} * if the cause is unavailable, unknown, or not a {@code Throwable} */ public MalformedChallengeException(final String message, final Throwable cause) { diff --git a/httpclient/src/main/java/org/apache/http/client/CircularRedirectException.java b/httpclient/src/main/java/org/apache/http/client/CircularRedirectException.java index 5e40924eb..489aa72e0 100644 --- a/httpclient/src/main/java/org/apache/http/client/CircularRedirectException.java +++ b/httpclient/src/main/java/org/apache/http/client/CircularRedirectException.java @@ -59,7 +59,7 @@ public class CircularRedirectException extends RedirectException { * Creates a new CircularRedirectException with the specified detail message and cause. * * @param message the exception detail message - * @param cause the {@code Throwable that caused this exception, or null} + * @param cause the {@code Throwable} that caused this exception, or {@code null} * if the cause is unavailable, unknown, or not a {@code Throwable} */ public CircularRedirectException(final String message, final Throwable cause) { diff --git a/httpclient/src/main/java/org/apache/http/client/RedirectException.java b/httpclient/src/main/java/org/apache/http/client/RedirectException.java index 866bfcac2..cf2abacd0 100644 --- a/httpclient/src/main/java/org/apache/http/client/RedirectException.java +++ b/httpclient/src/main/java/org/apache/http/client/RedirectException.java @@ -60,7 +60,7 @@ public class RedirectException extends ProtocolException { * Creates a new RedirectException with the specified detail message and cause. * * @param message the exception detail message - * @param cause the {@code Throwable that caused this exception, or null} + * @param cause the {@code Throwable} that caused this exception, or {@code null} * if the cause is unavailable, unknown, or not a {@code Throwable} */ public RedirectException(final String message, final Throwable cause) { diff --git a/httpclient/src/main/java/org/apache/http/client/protocol/ResponseContentEncoding.java b/httpclient/src/main/java/org/apache/http/client/protocol/ResponseContentEncoding.java index d9f87d739..ef6c76e56 100644 --- a/httpclient/src/main/java/org/apache/http/client/protocol/ResponseContentEncoding.java +++ b/httpclient/src/main/java/org/apache/http/client/protocol/ResponseContentEncoding.java @@ -92,7 +92,7 @@ public class ResponseContentEncoding implements HttpResponseInterceptor { } /** - * Handles {@code gzip and deflate} compressed entities by using the following + * Handles {@code gzip} and {@code deflate} compressed entities by using the following * decoders: *