diff --git a/httpclient5/src/main/java/org/apache/hc/client5/http/cookie/CookiePathComparator.java b/httpclient5/src/main/java/org/apache/hc/client5/http/cookie/CookiePathComparator.java index e3749c46e..192ad186f 100644 --- a/httpclient5/src/main/java/org/apache/hc/client5/http/cookie/CookiePathComparator.java +++ b/httpclient5/src/main/java/org/apache/hc/client5/http/cookie/CookiePathComparator.java @@ -41,7 +41,7 @@ import org.apache.hc.core5.annotation.ThreadingBehavior; * *
* This comparator assumes that Path attributes of two cookies - * path-match a commmon request-URI. Otherwise, the result of the + * path-match a common request-URI. Otherwise, the result of the * comparison is undefined. *
* diff --git a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/DefaultClientConnectionReuseStrategy.java b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/DefaultClientConnectionReuseStrategy.java index f17accfcd..b28b30e67 100644 --- a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/DefaultClientConnectionReuseStrategy.java +++ b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/DefaultClientConnectionReuseStrategy.java @@ -37,7 +37,7 @@ import org.apache.hc.core5.http.protocol.HttpContext; /** * Extension of core {@link DefaultConnectionReuseStrategy} that treats - * CONNECT method exchnages involved in proxy tunnelling as a special case. + * CONNECT method exchanges involved in proxy tunnelling as a special case. * * @since 5.2 */ diff --git a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/async/HttpAsyncClientBuilder.java b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/async/HttpAsyncClientBuilder.java index 394a228fc..35d4af1cb 100644 --- a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/async/HttpAsyncClientBuilder.java +++ b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/async/HttpAsyncClientBuilder.java @@ -260,7 +260,7 @@ public class HttpAsyncClientBuilder { /** * Sets HTTP protocol version policy. * - * @deprecated Use {@link TlsConfig} and connection nanager methods + * @deprecated Use {@link TlsConfig} and connection manager methods */ @Deprecated public final HttpAsyncClientBuilder setVersionPolicy(final HttpVersionPolicy versionPolicy) { diff --git a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/auth/NTLMEngineImpl.java b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/auth/NTLMEngineImpl.java index d87ee943d..3bf9f61ed 100644 --- a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/auth/NTLMEngineImpl.java +++ b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/auth/NTLMEngineImpl.java @@ -917,7 +917,7 @@ final class NTLMEngineImpl implements NTLMEngine { return sig; } - private boolean validateSignature( final byte[] signature, final byte message[] ) + private boolean validateSignature( final byte[] signature, final byte[] message ) { final byte[] computedSignature = computeSignature( message ); // log.info( "SSSSS validateSignature("+seqNumber+")\n"