This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 4bcc3d5e248ac496611698232f6bf762f5db8893
Author: Otavio Rodolfo Piske <angusyo...@gmail.com>
AuthorDate: Sun May 12 09:17:50 2024 +0200

    (chores) camel-http: code cleanup
    
    - removed unused exception
---
 .../src/main/java/org/apache/camel/http/common/CamelServlet.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/components/camel-http-common/src/main/java/org/apache/camel/http/common/CamelServlet.java
 
b/components/camel-http-common/src/main/java/org/apache/camel/http/common/CamelServlet.java
index 0c601e739c4..db554a350ce 100644
--- 
a/components/camel-http-common/src/main/java/org/apache/camel/http/common/CamelServlet.java
+++ 
b/components/camel-http-common/src/main/java/org/apache/camel/http/common/CamelServlet.java
@@ -406,7 +406,7 @@ public class CamelServlet extends HttpServlet implements 
HttpRegistryProvider {
         }
     }
 
-    private HttpConsumer doResolve(HttpServletRequest request, 
HttpServletResponse response) throws Exception {
+    private HttpConsumer doResolve(HttpServletRequest request, 
HttpServletResponse response) {
         // Is there a consumer registered for the request.
         HttpConsumer consumer = 
getServletResolveConsumerStrategy().resolve(request, getConsumers());
         if (consumer == null) {

Reply via email to