diff --git a/pom.xml b/pom.xml
index cd7ed9f4..0381522b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -74,7 +74,7 @@ OF THE POSSIBILITY OF SUCH DAMAGE.
com.jcabi
jcabi-aspects
- 0.24.1
+ 0.25.1
com.jcabi
@@ -431,7 +431,7 @@ OF THE POSSIBILITY OF SUCH DAMAGE.
com.qulice
qulice-maven-plugin
- 0.19.4
+ 0.22.0
duplicatefinder:.*
diff --git a/src/main/java/com/jcabi/http/wire/AutoRedirectingWire.java b/src/main/java/com/jcabi/http/wire/AutoRedirectingWire.java
index 9dacbe60..6b5bfc47 100644
--- a/src/main/java/com/jcabi/http/wire/AutoRedirectingWire.java
+++ b/src/main/java/com/jcabi/http/wire/AutoRedirectingWire.java
@@ -30,7 +30,6 @@
package com.jcabi.http.wire;
import com.jcabi.aspects.Immutable;
-import com.jcabi.aspects.Tv;
import com.jcabi.http.Request;
import com.jcabi.http.Response;
import com.jcabi.http.Wire;
@@ -86,7 +85,7 @@ public final class AutoRedirectingWire implements Wire {
* @param wire Original wire
*/
public AutoRedirectingWire(final Wire wire) {
- this(wire, Tv.FIVE);
+ this(wire, 5);
}
/**
diff --git a/src/main/java/com/jcabi/http/wire/CachingWire.java b/src/main/java/com/jcabi/http/wire/CachingWire.java
index 338c606a..35076324 100644
--- a/src/main/java/com/jcabi/http/wire/CachingWire.java
+++ b/src/main/java/com/jcabi/http/wire/CachingWire.java
@@ -33,7 +33,6 @@
import com.google.common.cache.CacheLoader;
import com.google.common.cache.LoadingCache;
import com.jcabi.aspects.Immutable;
-import com.jcabi.aspects.Tv;
import com.jcabi.http.Request;
import com.jcabi.http.Response;
import com.jcabi.http.Wire;
@@ -204,7 +203,7 @@ public Response send(
final int read
) throws IOException {
final URI uri = req.uri().get();
- final StringBuilder label = new StringBuilder(Tv.HUNDRED)
+ final StringBuilder label = new StringBuilder(100)
.append(method).append(' ').append(uri.getPath());
if (uri.getQuery() != null) {
label.append('?').append(uri.getQuery());
diff --git a/src/main/java/com/jcabi/http/wire/FcWire.java b/src/main/java/com/jcabi/http/wire/FcWire.java
index 099613db..dc1ab95e 100644
--- a/src/main/java/com/jcabi/http/wire/FcWire.java
+++ b/src/main/java/com/jcabi/http/wire/FcWire.java
@@ -30,7 +30,6 @@
package com.jcabi.http.wire;
import com.jcabi.aspects.Immutable;
-import com.jcabi.aspects.Tv;
import com.jcabi.http.Request;
import com.jcabi.http.Response;
import com.jcabi.http.Wire;
@@ -138,7 +137,7 @@ public Response send(final Request req, final String home,
final int connect,
final int read) throws IOException {
final URI uri = req.uri().get();
- final StringBuilder label = new StringBuilder(Tv.HUNDRED)
+ final StringBuilder label = new StringBuilder(100)
.append(method).append(' ').append(uri.getPath());
if (uri.getQuery() != null) {
label.append('?').append(uri.getQuery());
diff --git a/src/main/java/com/jcabi/http/wire/RetryWire.java b/src/main/java/com/jcabi/http/wire/RetryWire.java
index 504b1dff..f18f18ac 100644
--- a/src/main/java/com/jcabi/http/wire/RetryWire.java
+++ b/src/main/java/com/jcabi/http/wire/RetryWire.java
@@ -30,7 +30,6 @@
package com.jcabi.http.wire;
import com.jcabi.aspects.Immutable;
-import com.jcabi.aspects.Tv;
import com.jcabi.http.Request;
import com.jcabi.http.Response;
import com.jcabi.http.Wire;
@@ -91,7 +90,7 @@ public Response send(final Request req, final String home,
final int connect, final int read) throws IOException {
int attempt = 0;
while (true) {
- if (attempt > Tv.THREE) {
+ if (attempt > 3) {
throw new IOException(
String.format("failed after %d attempts", attempt)
);
diff --git a/src/main/java/com/jcabi/http/wire/VerboseWire.java b/src/main/java/com/jcabi/http/wire/VerboseWire.java
index a6162fec..a6c2e6d6 100644
--- a/src/main/java/com/jcabi/http/wire/VerboseWire.java
+++ b/src/main/java/com/jcabi/http/wire/VerboseWire.java
@@ -30,7 +30,6 @@
package com.jcabi.http.wire;
import com.jcabi.aspects.Immutable;
-import com.jcabi.aspects.Tv;
import com.jcabi.http.Request;
import com.jcabi.http.RequestBody;
import com.jcabi.http.Response;
@@ -88,7 +87,7 @@ public Response send(final Request req, final String home,
final int connect,
final int read) throws IOException {
final ByteArrayOutputStream output = new ByteArrayOutputStream();
- final byte[] buffer = new byte[Tv.THOUSAND];
+ final byte[] buffer = new byte[1000];
for (int bytes = content.read(buffer); bytes != -1;
bytes = content.read(buffer)) {
output.write(buffer, 0, bytes);
diff --git a/src/test/java/com/jcabi/http/ImmutableHeaderTest.java b/src/test/java/com/jcabi/http/ImmutableHeaderTest.java
index 73121a38..98e273f8 100644
--- a/src/test/java/com/jcabi/http/ImmutableHeaderTest.java
+++ b/src/test/java/com/jcabi/http/ImmutableHeaderTest.java
@@ -38,7 +38,7 @@
* Test case for {@link ImmutableHeader}.
* @since 1.1
*/
-public final class ImmutableHeaderTest {
+final class ImmutableHeaderTest {
/**
* ImmutableHeader can normalize headers.
diff --git a/src/test/java/com/jcabi/http/RequestITCase.java b/src/test/java/com/jcabi/http/RequestITCase.java
index 09123faa..f711a1e8 100644
--- a/src/test/java/com/jcabi/http/RequestITCase.java
+++ b/src/test/java/com/jcabi/http/RequestITCase.java
@@ -29,7 +29,6 @@
*/
package com.jcabi.http;
-import com.jcabi.aspects.Tv;
import com.jcabi.http.mock.MkAnswer;
import com.jcabi.http.mock.MkContainer;
import com.jcabi.http.mock.MkGrizzlyContainer;
@@ -64,7 +63,7 @@ final class RequestITCase extends RequestTestTemplate {
*/
@Values
@ParameterizedTest
- @Timeout(Tv.TEN)
+ @Timeout(10)
void sendsHttpRequestAndProcessesHttpResponse(
final Class extends Request> type
) throws Exception {
@@ -82,7 +81,7 @@ void sendsHttpRequestAndProcessesHttpResponse(
*/
@Values
@ParameterizedTest
- @Timeout(Tv.TEN)
+ @Timeout(10)
void processesNotOkHttpResponse(
final Class extends Request> type
) throws Exception {
diff --git a/src/test/java/com/jcabi/http/RequestITCaseTemplate.java b/src/test/java/com/jcabi/http/RequestITCaseTemplate.java
index e11bb18d..009a6495 100644
--- a/src/test/java/com/jcabi/http/RequestITCaseTemplate.java
+++ b/src/test/java/com/jcabi/http/RequestITCaseTemplate.java
@@ -29,7 +29,6 @@
*/
package com.jcabi.http;
-import com.jcabi.aspects.Tv;
import com.jcabi.http.request.JdkRequest;
import com.jcabi.http.response.JsonResponse;
import com.jcabi.http.response.RestResponse;
@@ -147,7 +146,7 @@ final void sendsCookies() throws IOException {
@Test
final void followsLocationHeader() throws IOException {
this.request("/absolute-redirect/5")
- .through(AutoRedirectingWire.class, Tv.SIX)
+ .through(AutoRedirectingWire.class, 6)
.fetch()
.as(RestResponse.class)
.assertStatus(HttpURLConnection.HTTP_OK);
@@ -156,7 +155,7 @@ final void followsLocationHeader() throws IOException {
@Test
final void followsLocationHeaderRelativeRedirect() throws IOException {
this.request("/relative-redirect/5")
- .through(AutoRedirectingWire.class, Tv.SIX)
+ .through(AutoRedirectingWire.class, 6)
.fetch()
.as(RestResponse.class)
.assertStatus(HttpURLConnection.HTTP_OK);
@@ -168,7 +167,7 @@ final void failsOnTimeout() {
IOException.class,
() ->
this.request("/delay/3")
- .timeout(Tv.THOUSAND, Tv.THOUSAND)
+ .timeout(1000, 1000)
.fetch()
);
}
diff --git a/src/test/java/com/jcabi/http/RequestSecondITCase.java b/src/test/java/com/jcabi/http/RequestSecondITCase.java
index 0c67e0cf..9c78d6a2 100644
--- a/src/test/java/com/jcabi/http/RequestSecondITCase.java
+++ b/src/test/java/com/jcabi/http/RequestSecondITCase.java
@@ -48,7 +48,7 @@
@SuppressWarnings("PMD.AbstractClassWithoutAbstractMethod")
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
@Testcontainers(disabledWithoutDocker = true)
-public final class RequestSecondITCase {
+final class RequestSecondITCase {
/**
* Container with HttpBin.
diff --git a/src/test/java/com/jcabi/http/RequestTimeoutLossTest.java b/src/test/java/com/jcabi/http/RequestTimeoutLossTest.java
index 5d6c9c94..02a56d28 100644
--- a/src/test/java/com/jcabi/http/RequestTimeoutLossTest.java
+++ b/src/test/java/com/jcabi/http/RequestTimeoutLossTest.java
@@ -51,7 +51,7 @@
* @since 1.17.3
*/
@SuppressWarnings("PMD.TooManyMethods")
-public final class RequestTimeoutLossTest extends RequestTestTemplate {
+final class RequestTimeoutLossTest extends RequestTestTemplate {
/**
* Placeholder URL used for testing purposes only.
*/
diff --git a/src/test/java/com/jcabi/http/mock/GrizzlyQueryTest.java b/src/test/java/com/jcabi/http/mock/GrizzlyQueryTest.java
index a2341512..bbd48a5a 100644
--- a/src/test/java/com/jcabi/http/mock/GrizzlyQueryTest.java
+++ b/src/test/java/com/jcabi/http/mock/GrizzlyQueryTest.java
@@ -41,7 +41,7 @@
* Test case for {@link GrizzlyQuery}.
* @since 1.13
*/
-public final class GrizzlyQueryTest {
+final class GrizzlyQueryTest {
/**
* GrizzlyQuery can return a body as a byte array.
diff --git a/src/test/java/com/jcabi/http/mock/MkAnswerMatchersTest.java b/src/test/java/com/jcabi/http/mock/MkAnswerMatchersTest.java
index 9b49b832..8158ad58 100644
--- a/src/test/java/com/jcabi/http/mock/MkAnswerMatchersTest.java
+++ b/src/test/java/com/jcabi/http/mock/MkAnswerMatchersTest.java
@@ -39,7 +39,7 @@
* Test case for {@link MkAnswerMatchers}.
* @since 1.5
*/
-public final class MkAnswerMatchersTest {
+final class MkAnswerMatchersTest {
/**
* MkAnswerMatchers should be able to match MkAnswer body.
diff --git a/src/test/java/com/jcabi/http/mock/MkQueryMatchersTest.java b/src/test/java/com/jcabi/http/mock/MkQueryMatchersTest.java
index 25316476..db8ca107 100644
--- a/src/test/java/com/jcabi/http/mock/MkQueryMatchersTest.java
+++ b/src/test/java/com/jcabi/http/mock/MkQueryMatchersTest.java
@@ -41,7 +41,7 @@
*
* @since 1.5
*/
-public final class MkQueryMatchersTest {
+final class MkQueryMatchersTest {
/**
* MkQueryMatchers should be able to match MkQuery body.
diff --git a/src/test/java/com/jcabi/http/request/BoundaryTest.java b/src/test/java/com/jcabi/http/request/BoundaryTest.java
index 1bc5f63f..d40102c5 100644
--- a/src/test/java/com/jcabi/http/request/BoundaryTest.java
+++ b/src/test/java/com/jcabi/http/request/BoundaryTest.java
@@ -38,7 +38,7 @@
* Test case {@link Boundary}.
* @since 1.17.3
*/
-public final class BoundaryTest {
+final class BoundaryTest {
/**
* Boundary builds valid string.
diff --git a/src/test/java/com/jcabi/http/request/DefaultResponseTest.java b/src/test/java/com/jcabi/http/request/DefaultResponseTest.java
index 455eb442..e12f687d 100644
--- a/src/test/java/com/jcabi/http/request/DefaultResponseTest.java
+++ b/src/test/java/com/jcabi/http/request/DefaultResponseTest.java
@@ -42,13 +42,13 @@
* Test case for {@link DefaultResponse}.
* @since 1.0
*/
-public final class DefaultResponseTest {
+final class DefaultResponseTest {
/**
* DefaultResponse can throw when entity is not a Unicode text.
*/
@Test
- public void throwsWhenEntityIsNotAUnicodeString() {
+ void throwsWhenEntityIsNotAUnicodeString() {
Assertions.assertThrows(
RuntimeException.class,
new Executable() {
diff --git a/src/test/java/com/jcabi/http/request/JdkRequestITCase.java b/src/test/java/com/jcabi/http/request/JdkRequestITCase.java
index 4c485f26..1dc705f0 100644
--- a/src/test/java/com/jcabi/http/request/JdkRequestITCase.java
+++ b/src/test/java/com/jcabi/http/request/JdkRequestITCase.java
@@ -29,7 +29,6 @@
*/
package com.jcabi.http.request;
-import com.jcabi.aspects.Tv;
import jakarta.ws.rs.HttpMethod;
import java.io.IOException;
import java.net.MalformedURLException;
@@ -124,7 +123,7 @@ public void execute() throws Throwable {
StringUtils.join(
url,
colon,
- String.valueOf(Tv.EIGHTY)
+ "80"
)
).fetch();
}
diff --git a/src/test/java/com/jcabi/http/response/JsonResponseTest.java b/src/test/java/com/jcabi/http/response/JsonResponseTest.java
index 77c4fbe2..9a0f50b4 100644
--- a/src/test/java/com/jcabi/http/response/JsonResponseTest.java
+++ b/src/test/java/com/jcabi/http/response/JsonResponseTest.java
@@ -42,7 +42,7 @@
* Test case for {@link JsonResponse}.
* @since 1.1
*/
-public final class JsonResponseTest {
+final class JsonResponseTest {
/**
* JsonResponse can read and return a JSON document.
diff --git a/src/test/java/com/jcabi/http/response/JsoupResponseTest.java b/src/test/java/com/jcabi/http/response/JsoupResponseTest.java
index 2bb9996b..b79763bf 100644
--- a/src/test/java/com/jcabi/http/response/JsoupResponseTest.java
+++ b/src/test/java/com/jcabi/http/response/JsoupResponseTest.java
@@ -41,7 +41,7 @@
*
* @since 1.4
*/
-public final class JsoupResponseTest {
+final class JsoupResponseTest {
/**
* JsoupResponse normalizes malformed HTML responses.
diff --git a/src/test/java/com/jcabi/http/response/WebLinkingResponseTest.java b/src/test/java/com/jcabi/http/response/WebLinkingResponseTest.java
index d64ebc86..78f57bac 100644
--- a/src/test/java/com/jcabi/http/response/WebLinkingResponseTest.java
+++ b/src/test/java/com/jcabi/http/response/WebLinkingResponseTest.java
@@ -39,7 +39,7 @@
* Test case for {@link WebLinkingResponse}.
* @since 0.9
*/
-public final class WebLinkingResponseTest {
+final class WebLinkingResponseTest {
/**
* The Link header.
diff --git a/src/test/java/com/jcabi/http/response/XmlResponseTest.java b/src/test/java/com/jcabi/http/response/XmlResponseTest.java
index 6537885a..67d03fc0 100644
--- a/src/test/java/com/jcabi/http/response/XmlResponseTest.java
+++ b/src/test/java/com/jcabi/http/response/XmlResponseTest.java
@@ -43,7 +43,7 @@
* @since 1.1
*/
@SuppressWarnings("PMD.TooManyMethods")
-public final class XmlResponseTest {
+final class XmlResponseTest {
/**
* XmlResponse can find nodes with XPath.
diff --git a/src/test/java/com/jcabi/http/wire/AutoRedirectingWireTest.java b/src/test/java/com/jcabi/http/wire/AutoRedirectingWireTest.java
index e1a06b90..58d33ede 100644
--- a/src/test/java/com/jcabi/http/wire/AutoRedirectingWireTest.java
+++ b/src/test/java/com/jcabi/http/wire/AutoRedirectingWireTest.java
@@ -29,7 +29,6 @@
*/
package com.jcabi.http.wire;
-import com.jcabi.aspects.Tv;
import com.jcabi.http.mock.MkAnswer;
import com.jcabi.http.mock.MkContainer;
import com.jcabi.http.mock.MkGrizzlyContainer;
@@ -47,7 +46,7 @@
*
* @since 1.7
*/
-public final class AutoRedirectingWireTest {
+final class AutoRedirectingWireTest {
/**
* AutoRedirectingWire retries up to the specified number of times for
@@ -65,7 +64,7 @@ void retriesForHttpRedirectStatus() throws Exception {
Integer.MAX_VALUE
).start();
try {
- final int retries = Tv.THREE;
+ final int retries = 3;
new JdkRequest(container.home())
.through(AutoRedirectingWire.class, retries)
.fetch().as(RestResponse.class)
@@ -101,7 +100,7 @@ void returnsValidResponseAfterRetry() throws Exception {
.assertStatus(HttpStatus.SC_OK);
MatcherAssert.assertThat(
container.takeAll(Matchers.any(MkAnswer.class)),
- Matchers.iterableWithSize(Tv.THREE)
+ Matchers.iterableWithSize(3)
);
} finally {
container.stop();
diff --git a/src/test/java/com/jcabi/http/wire/CachingWireTest.java b/src/test/java/com/jcabi/http/wire/CachingWireTest.java
index eade80cd..26123658 100644
--- a/src/test/java/com/jcabi/http/wire/CachingWireTest.java
+++ b/src/test/java/com/jcabi/http/wire/CachingWireTest.java
@@ -32,7 +32,6 @@
import com.google.common.cache.CacheBuilder;
import com.google.common.cache.CacheLoader;
import com.google.common.cache.LoadingCache;
-import com.jcabi.aspects.Tv;
import com.jcabi.http.Request;
import com.jcabi.http.Response;
import com.jcabi.http.mock.MkAnswer;
@@ -63,7 +62,7 @@ void cachesGetRequest() throws Exception {
).start();
final Request req = new JdkRequest(container.home())
.through(CachingWire.class);
- for (int idx = 0; idx < Tv.TEN; ++idx) {
+ for (int idx = 0; idx < 10; ++idx) {
req.fetch().as(RestResponse.class)
.assertStatus(HttpURLConnection.HTTP_OK);
}
@@ -118,7 +117,7 @@ void flushesOnRegularExpressionMatch() throws Exception {
container.stop();
MatcherAssert.assertThat(
container.queries(),
- Matchers.equalTo(Tv.THREE)
+ Matchers.equalTo(3)
);
}
@@ -147,7 +146,7 @@ public Response load(final Callable query)
);
final Request req = new JdkRequest(container.home())
.through(CachingWire.class, cache);
- for (int idx = 0; idx < Tv.TEN; ++idx) {
+ for (int idx = 0; idx < 10; ++idx) {
req.fetch().as(RestResponse.class)
.assertStatus(HttpURLConnection.HTTP_OK);
}
diff --git a/src/test/java/com/jcabi/http/wire/CookieOptimizingWireTest.java b/src/test/java/com/jcabi/http/wire/CookieOptimizingWireTest.java
index 20e27338..8d1686f9 100644
--- a/src/test/java/com/jcabi/http/wire/CookieOptimizingWireTest.java
+++ b/src/test/java/com/jcabi/http/wire/CookieOptimizingWireTest.java
@@ -45,7 +45,7 @@
* Test case for {@link CookieOptimizingWire}.
* @since 1.0
*/
-public final class CookieOptimizingWireTest {
+final class CookieOptimizingWireTest {
/**
* CookieOptimizingWire can transfer cookies.
diff --git a/src/test/java/com/jcabi/http/wire/ETagCachingWireTest.java b/src/test/java/com/jcabi/http/wire/ETagCachingWireTest.java
index 6c3f8a9a..3e82fb67 100644
--- a/src/test/java/com/jcabi/http/wire/ETagCachingWireTest.java
+++ b/src/test/java/com/jcabi/http/wire/ETagCachingWireTest.java
@@ -45,7 +45,7 @@
* Test case for {@link ETagCachingWire}.
* @since 2.0
*/
-public final class ETagCachingWireTest {
+final class ETagCachingWireTest {
/**
* ETagCachingWire can take content from cache.
diff --git a/src/test/java/com/jcabi/http/wire/FcWireTest.java b/src/test/java/com/jcabi/http/wire/FcWireTest.java
index 68302552..da91f670 100644
--- a/src/test/java/com/jcabi/http/wire/FcWireTest.java
+++ b/src/test/java/com/jcabi/http/wire/FcWireTest.java
@@ -29,7 +29,6 @@
*/
package com.jcabi.http.wire;
-import com.jcabi.aspects.Tv;
import com.jcabi.http.Request;
import com.jcabi.http.mock.MkAnswer;
import com.jcabi.http.mock.MkContainer;
@@ -45,7 +44,7 @@
* Test case for {@link FcWire}.
* @since 1.0
*/
-public final class FcWireTest {
+final class FcWireTest {
/**
* FileCachingWire can cache GET requests.
@@ -58,7 +57,7 @@ void cachesGetRequest() throws Exception {
).start();
final Request req = new JdkRequest(container.home())
.through(FcWire.class);
- for (int idx = 0; idx < Tv.TEN; ++idx) {
+ for (int idx = 0; idx < 10; ++idx) {
req.fetch().as(RestResponse.class)
.assertStatus(HttpURLConnection.HTTP_OK);
}
@@ -113,7 +112,7 @@ void flushesOnRegularExpressionMatch() throws Exception {
container.stop();
MatcherAssert.assertThat(
container.queries(),
- Matchers.equalTo(Tv.THREE)
+ Matchers.equalTo(3)
);
}
diff --git a/src/test/java/com/jcabi/http/wire/LastModifiedCachingWireTest.java b/src/test/java/com/jcabi/http/wire/LastModifiedCachingWireTest.java
index 205e7110..e41194c5 100644
--- a/src/test/java/com/jcabi/http/wire/LastModifiedCachingWireTest.java
+++ b/src/test/java/com/jcabi/http/wire/LastModifiedCachingWireTest.java
@@ -29,7 +29,6 @@
*/
package com.jcabi.http.wire;
-import com.jcabi.aspects.Tv;
import com.jcabi.http.Request;
import com.jcabi.http.mock.MkAnswer;
import com.jcabi.http.mock.MkContainer;
@@ -53,7 +52,7 @@
* Test case for {@link LastModifiedCachingWire}.
* @since 1.15
*/
-public final class LastModifiedCachingWireTest {
+final class LastModifiedCachingWireTest {
/**
* Test body.
@@ -107,6 +106,7 @@ void cachesGetRequest() throws Exception {
HttpHeaders.LAST_MODIFIED,
"Wed, 15 Nov 1995 04:58:08 GMT"
);
+ final int count = 10;
final MkContainer container = new MkGrizzlyContainer()
.next(
new MkAnswer.Simple(
@@ -118,12 +118,12 @@ void cachesGetRequest() throws Exception {
.next(
new MkAnswer.Simple(HttpURLConnection.HTTP_NOT_MODIFIED),
new IsAnything(),
- Tv.TEN
+ count
).start();
try {
final Request req = new JdkRequest(container.home())
.through(LastModifiedCachingWire.class);
- for (int idx = 0; idx < Tv.TEN; ++idx) {
+ for (int idx = 0; idx < count; ++idx) {
req
.fetch()
.as(RestResponse.class)
@@ -133,7 +133,7 @@ void cachesGetRequest() throws Exception {
);
}
MatcherAssert.assertThat(
- container.queries(), Matchers.equalTo(Tv.TEN)
+ container.queries(), Matchers.equalTo(count)
);
} finally {
container.stop();
diff --git a/src/test/java/com/jcabi/http/wire/RetryWireTest.java b/src/test/java/com/jcabi/http/wire/RetryWireTest.java
index e082071a..d0befe7e 100644
--- a/src/test/java/com/jcabi/http/wire/RetryWireTest.java
+++ b/src/test/java/com/jcabi/http/wire/RetryWireTest.java
@@ -50,7 +50,7 @@
*
* @since 1.2
*/
-public final class RetryWireTest {
+final class RetryWireTest {
/**
* RetryWire can make a few requests before giving up.
diff --git a/src/test/java/com/jcabi/http/wire/TrustedWireITCase.java b/src/test/java/com/jcabi/http/wire/TrustedWireITCase.java
index 4cf7a101..29f078b2 100644
--- a/src/test/java/com/jcabi/http/wire/TrustedWireITCase.java
+++ b/src/test/java/com/jcabi/http/wire/TrustedWireITCase.java
@@ -40,7 +40,7 @@
*
* @since 1.10.1
*/
-public final class TrustedWireITCase {
+final class TrustedWireITCase {
/**
* TrustedWire can ignore SSL verifications.
diff --git a/src/test/java/com/jcabi/http/wire/TrustedWireTest.java b/src/test/java/com/jcabi/http/wire/TrustedWireTest.java
index 2c9815c2..c3d2ccf8 100644
--- a/src/test/java/com/jcabi/http/wire/TrustedWireTest.java
+++ b/src/test/java/com/jcabi/http/wire/TrustedWireTest.java
@@ -41,7 +41,7 @@
* Test case for {@link TrustedWire}.
* @since 1.10
*/
-public final class TrustedWireTest {
+final class TrustedWireTest {
/**
* TrustedWire can ignore PKIX errors.
diff --git a/src/test/java/com/jcabi/http/wire/VerboseWireTest.java b/src/test/java/com/jcabi/http/wire/VerboseWireTest.java
index 69d25c01..eb763a88 100644
--- a/src/test/java/com/jcabi/http/wire/VerboseWireTest.java
+++ b/src/test/java/com/jcabi/http/wire/VerboseWireTest.java
@@ -46,7 +46,7 @@
* Test case for {@link VerboseWire}.
* @since 1.0
*/
-public final class VerboseWireTest {
+final class VerboseWireTest {
/**
* VerboseWire can log requests.