This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit 6dd17199c0ab44f63a13f48e86be977ec1b0aba1 Author: Claus Ibsen <[email protected]> AuthorDate: Mon Dec 11 09:40:27 2023 +0100 Regen --- .../camel/component/netty/http/HttpClientInitializerFactory.java | 1 - .../java/org/apache/camel/component/netty/http/NettyHttpHelper.java | 2 -- .../java/org/apache/camel/component/netty/http/NettyHttpProducer.java | 1 - .../camel/component/netty/http/SecurityAuthenticatorSupport.java | 2 -- .../netty/http/NettyHttpHeaderFilterStrategyRemovalTest.java | 4 ++-- .../apache/camel/component/netty/http/NettyHttpSuspendResumeTest.java | 3 ++- .../camel/component/platform/http/vertx/VertxPlatformHttpSupport.java | 1 - 7 files changed, 4 insertions(+), 10 deletions(-) diff --git a/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/HttpClientInitializerFactory.java b/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/HttpClientInitializerFactory.java index f2045d91f86..6343b017a0c 100644 --- a/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/HttpClientInitializerFactory.java +++ b/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/HttpClientInitializerFactory.java @@ -17,7 +17,6 @@ package org.apache.camel.component.netty.http; import java.net.URI; -import java.util.Arrays; import java.util.List; import java.util.concurrent.TimeUnit; diff --git a/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/NettyHttpHelper.java b/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/NettyHttpHelper.java index 9a09ac2fbf0..21080697c7d 100644 --- a/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/NettyHttpHelper.java +++ b/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/NettyHttpHelper.java @@ -28,11 +28,9 @@ import io.netty.handler.codec.http.HttpMethod; import org.apache.camel.Exchange; import org.apache.camel.Message; import org.apache.camel.RuntimeExchangeException; -import org.apache.camel.support.http.HttpUtil; import org.apache.camel.util.CollectionHelper; import org.apache.camel.util.IOHelper; import org.apache.camel.util.ObjectHelper; -import org.apache.camel.util.StringHelper; import org.apache.camel.util.URISupport; import org.apache.camel.util.UnsafeUriCharactersEncoder; diff --git a/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/NettyHttpProducer.java b/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/NettyHttpProducer.java index 1a635445a38..f3d7e4cefd4 100644 --- a/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/NettyHttpProducer.java +++ b/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/NettyHttpProducer.java @@ -31,7 +31,6 @@ import org.apache.camel.component.netty.NettyConfiguration; import org.apache.camel.component.netty.NettyProducer; import org.apache.camel.http.base.cookie.CookieHandler; import org.apache.camel.support.SynchronizationAdapter; -import org.apache.camel.util.StringHelper; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/SecurityAuthenticatorSupport.java b/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/SecurityAuthenticatorSupport.java index d79c5c72365..fa6836f265f 100644 --- a/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/SecurityAuthenticatorSupport.java +++ b/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/SecurityAuthenticatorSupport.java @@ -16,7 +16,6 @@ */ package org.apache.camel.component.netty.http; -import java.io.IOException; import java.security.Principal; import java.util.Locale; @@ -25,7 +24,6 @@ import javax.security.auth.callback.Callback; import javax.security.auth.callback.CallbackHandler; import javax.security.auth.callback.NameCallback; import javax.security.auth.callback.PasswordCallback; -import javax.security.auth.callback.UnsupportedCallbackException; import org.apache.camel.support.ObjectHelper; import org.slf4j.Logger; diff --git a/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpHeaderFilterStrategyRemovalTest.java b/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpHeaderFilterStrategyRemovalTest.java index 908abc5704a..ae9b439e32f 100644 --- a/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpHeaderFilterStrategyRemovalTest.java +++ b/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpHeaderFilterStrategyRemovalTest.java @@ -27,8 +27,8 @@ import static org.apache.camel.Exchange.HTTP_QUERY; public class NettyHttpHeaderFilterStrategyRemovalTest extends BaseNettyTest { - @BindToRegistry("headerFilterStrategy") final - NettyHttpHeaderFilterStrategy headerFilterStrategy = new NettyHttpHeaderFilterStrategy(); + @BindToRegistry("headerFilterStrategy") + final NettyHttpHeaderFilterStrategy headerFilterStrategy = new NettyHttpHeaderFilterStrategy(); @EndpointInject("mock:test") MockEndpoint mockEndpoint; diff --git a/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpSuspendResumeTest.java b/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpSuspendResumeTest.java index 9097fbdf7b2..ff9da06c0ac 100644 --- a/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpSuspendResumeTest.java +++ b/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpSuspendResumeTest.java @@ -32,7 +32,8 @@ import static org.junit.jupiter.api.Assertions.fail; @DisabledOnOs(OS.WINDOWS) public class NettyHttpSuspendResumeTest extends BaseNettyTest { - private final String serverUri = "netty-http:http://localhost:" + getPort() + "/cool?disconnect=true&send503whenSuspended=false"; + private final String serverUri + = "netty-http:http://localhost:" + getPort() + "/cool?disconnect=true&send503whenSuspended=false"; @Test public void testNettySuspendResume() { diff --git a/components/camel-platform-http-vertx/src/main/java/org/apache/camel/component/platform/http/vertx/VertxPlatformHttpSupport.java b/components/camel-platform-http-vertx/src/main/java/org/apache/camel/component/platform/http/vertx/VertxPlatformHttpSupport.java index 595cee8af9d..9230343a36e 100644 --- a/components/camel-platform-http-vertx/src/main/java/org/apache/camel/component/platform/http/vertx/VertxPlatformHttpSupport.java +++ b/components/camel-platform-http-vertx/src/main/java/org/apache/camel/component/platform/http/vertx/VertxPlatformHttpSupport.java @@ -21,7 +21,6 @@ import java.io.PrintWriter; import java.io.StringWriter; import java.nio.ByteBuffer; import java.nio.charset.StandardCharsets; -import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.Map;
