diff --git a/modules/transport-netty4/src/internalClusterTest/java/org/opensearch/http/netty4/Netty4HeaderVerifierIT.java b/modules/transport-netty4/src/internalClusterTest/java/org/opensearch/http/netty4/Netty4HeaderVerifierIT.java index 721144fa1a9be..a2d30a0319675 100644 --- a/modules/transport-netty4/src/internalClusterTest/java/org/opensearch/http/netty4/Netty4HeaderVerifierIT.java +++ b/modules/transport-netty4/src/internalClusterTest/java/org/opensearch/http/netty4/Netty4HeaderVerifierIT.java @@ -32,9 +32,7 @@ import static org.hamcrest.CoreMatchers.containsString; import static org.hamcrest.CoreMatchers.equalTo; -import static org.hamcrest.CoreMatchers.hasItems; import static org.junit.Assert.assertThat; -import static io.netty.handler.codec.http.HttpHeaderNames.HOST; @ClusterScope(scope = Scope.TEST, supportsDedicatedMasters = false, numDataNodes = 1) public class Netty4HeaderVerifierIT extends OpenSearchNetty4IntegTestCase { diff --git a/modules/transport-netty4/src/internalClusterTest/java/org/opensearch/transport/Netty4MarkedMessagePlugin.java b/modules/transport-netty4/src/internalClusterTest/java/org/opensearch/transport/Netty4MarkedMessagePlugin.java index bd8558cf78a8c..a30480ce76715 100644 --- a/modules/transport-netty4/src/internalClusterTest/java/org/opensearch/transport/Netty4MarkedMessagePlugin.java +++ b/modules/transport-netty4/src/internalClusterTest/java/org/opensearch/transport/Netty4MarkedMessagePlugin.java @@ -34,7 +34,7 @@ public class Netty4MarkedMessagePlugin extends Netty4Plugin { - public static final AtomicReference MESSAGE = new AtomicReference<>(); + public static final AtomicReference MESSAGE = new AtomicReference<>(); public class Netty4BlockingHttpServerTransport extends Netty4HttpServerTransport { @@ -48,16 +48,7 @@ public Netty4BlockingHttpServerTransport( ClusterSettings clusterSettings, SharedGroupFactory sharedGroupFactory ) { - super( - settings, - networkService, - bigArrays, - threadPool, - xContentRegistry, - dispatcher, - clusterSettings, - sharedGroupFactory - ); + super(settings, networkService, bigArrays, threadPool, xContentRegistry, dispatcher, clusterSettings, sharedGroupFactory); } @Override