diff --git a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/auth/BasicScheme.java b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/auth/BasicScheme.java index a198b8f17..0c18ad843 100644 --- a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/auth/BasicScheme.java +++ b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/auth/BasicScheme.java @@ -48,7 +48,7 @@ import org.apache.hc.client5.http.auth.AuthenticationException; import org.apache.hc.client5.http.auth.Credentials; import org.apache.hc.client5.http.auth.CredentialsProvider; import org.apache.hc.client5.http.auth.MalformedChallengeException; -import org.apache.hc.client5.http.auth.ByteArrayBuilder; +import org.apache.hc.client5.http.utils.ByteArrayBuilder; import org.apache.hc.core5.http.HttpHost; import org.apache.hc.core5.http.HttpRequest; import org.apache.hc.core5.http.NameValuePair; diff --git a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/auth/DigestScheme.java b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/auth/DigestScheme.java index e726a94b5..e4d38878f 100644 --- a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/auth/DigestScheme.java +++ b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/auth/DigestScheme.java @@ -48,7 +48,7 @@ import org.apache.hc.client5.http.auth.AuthChallenge; import org.apache.hc.client5.http.auth.AuthScheme; import org.apache.hc.client5.http.auth.AuthScope; import org.apache.hc.client5.http.auth.AuthenticationException; -import org.apache.hc.client5.http.auth.ByteArrayBuilder; +import org.apache.hc.client5.http.utils.ByteArrayBuilder; import org.apache.hc.client5.http.auth.Credentials; import org.apache.hc.client5.http.auth.CredentialsProvider; import org.apache.hc.client5.http.auth.MalformedChallengeException; 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 e89fe6ad4..5929f86be 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 @@ -41,7 +41,7 @@ import javax.crypto.Cipher; import javax.crypto.spec.SecretKeySpec; import org.apache.commons.codec.binary.Base64; -import org.apache.hc.client5.http.auth.ByteArrayBuilder; +import org.apache.hc.client5.http.utils.ByteArrayBuilder; /** * Provides an implementation for NTLMv1, NTLMv2, and NTLM2 Session forms of the NTLM diff --git a/httpclient5/src/main/java/org/apache/hc/client5/http/auth/ByteArrayBuilder.java b/httpclient5/src/main/java/org/apache/hc/client5/http/utils/ByteArrayBuilder.java similarity index 99% rename from httpclient5/src/main/java/org/apache/hc/client5/http/auth/ByteArrayBuilder.java rename to httpclient5/src/main/java/org/apache/hc/client5/http/utils/ByteArrayBuilder.java index 1d1287824..7ebbb0f46 100644 --- a/httpclient5/src/main/java/org/apache/hc/client5/http/auth/ByteArrayBuilder.java +++ b/httpclient5/src/main/java/org/apache/hc/client5/http/utils/ByteArrayBuilder.java @@ -24,7 +24,7 @@ * . * */ -package org.apache.hc.client5.http.auth; +package org.apache.hc.client5.http.utils; import java.nio.ByteBuffer; import java.nio.CharBuffer; diff --git a/httpclient5/src/test/java/org/apache/hc/client5/http/auth/util/TestByteArrayBuilder.java b/httpclient5/src/test/java/org/apache/hc/client5/http/utils/TestByteArrayBuilder.java similarity index 98% rename from httpclient5/src/test/java/org/apache/hc/client5/http/auth/util/TestByteArrayBuilder.java rename to httpclient5/src/test/java/org/apache/hc/client5/http/utils/TestByteArrayBuilder.java index a6a2f4efc..775af3c3e 100644 --- a/httpclient5/src/test/java/org/apache/hc/client5/http/auth/util/TestByteArrayBuilder.java +++ b/httpclient5/src/test/java/org/apache/hc/client5/http/utils/TestByteArrayBuilder.java @@ -24,12 +24,11 @@ * . * */ -package org.apache.hc.client5.http.auth.util; +package org.apache.hc.client5.http.utils; import java.nio.ByteBuffer; import java.nio.charset.StandardCharsets; -import org.apache.hc.client5.http.auth.ByteArrayBuilder; import org.junit.Assert; import org.junit.Test;