You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2023/06/20 15:09:22 UTC

[camel] branch main updated (615da7a661a -> 8d1d14734e1)

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

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


    from 615da7a661a Regen for commit ce7ab545f5edb00f843f6edcc48bc3da00b02f17 (#10452)
     new b831d3c1098 (chores) camel-jetty-common: removed unused field
     new 8d1d14734e1 (chores) camel-coap: removed unused field

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../src/main/java/org/apache/camel/coap/CoAPNotifier.java        | 2 --
 .../apache/camel/component/jetty/CamelContinuationServlet.java   | 9 +--------
 2 files changed, 1 insertion(+), 10 deletions(-)


[camel] 02/02: (chores) camel-coap: removed unused field

Posted by or...@apache.org.
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 8d1d14734e1c85b945d2a4074463c6a1712f9834
Author: Otavio R. Piske <an...@gmail.com>
AuthorDate: Tue Jun 20 15:43:44 2023 +0200

    (chores) camel-coap: removed unused field
    
    Signed-off-by: Otavio R. Piske <an...@gmail.com>
---
 .../camel-coap/src/main/java/org/apache/camel/coap/CoAPNotifier.java    | 2 --
 1 file changed, 2 deletions(-)

diff --git a/components/camel-coap/src/main/java/org/apache/camel/coap/CoAPNotifier.java b/components/camel-coap/src/main/java/org/apache/camel/coap/CoAPNotifier.java
index 92f83facbd8..42f99df6825 100644
--- a/components/camel-coap/src/main/java/org/apache/camel/coap/CoAPNotifier.java
+++ b/components/camel-coap/src/main/java/org/apache/camel/coap/CoAPNotifier.java
@@ -21,7 +21,6 @@ import java.util.Optional;
 
 import org.apache.camel.Exchange;
 import org.apache.camel.support.DefaultProducer;
-import org.eclipse.californium.core.CoapClient;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -33,7 +32,6 @@ public class CoAPNotifier extends DefaultProducer {
     private static final Logger LOG = LoggerFactory.getLogger(CoAPNotifier.class);
 
     private final CoAPEndpoint endpoint;
-    private CoapClient client;
 
     public CoAPNotifier(CoAPEndpoint endpoint) {
         super(endpoint);


[camel] 01/02: (chores) camel-jetty-common: removed unused field

Posted by or...@apache.org.
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 b831d3c1098652872a00c85d8fd185b2839d91dc
Author: Otavio R. Piske <an...@gmail.com>
AuthorDate: Tue Jun 20 15:43:34 2023 +0200

    (chores) camel-jetty-common: removed unused field
    
    Signed-off-by: Otavio R. Piske <an...@gmail.com>
---
 .../apache/camel/component/jetty/CamelContinuationServlet.java   | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/components/camel-jetty-common/src/main/java/org/apache/camel/component/jetty/CamelContinuationServlet.java b/components/camel-jetty-common/src/main/java/org/apache/camel/component/jetty/CamelContinuationServlet.java
index 82f1f428de6..6f77214e03a 100644
--- a/components/camel-jetty-common/src/main/java/org/apache/camel/component/jetty/CamelContinuationServlet.java
+++ b/components/camel-jetty-common/src/main/java/org/apache/camel/component/jetty/CamelContinuationServlet.java
@@ -185,7 +185,7 @@ public class CamelContinuationServlet extends CamelServlet {
                 // set timeout on initial
                 asyncContext.setTimeout(continuationTimeout.longValue());
             }
-            asyncContext.addListener(new ExpiredListener(consumer), request, response);
+            asyncContext.addListener(new ExpiredListener(), request, response);
 
             // are we suspended and a request is dispatched initially?
             if (consumer.isSuspended() && isInitial(request)) {
@@ -303,13 +303,6 @@ public class CamelContinuationServlet extends CamelServlet {
     }
 
     private class ExpiredListener implements AsyncListener {
-
-        private HttpConsumer consumer;
-
-        public ExpiredListener(HttpConsumer consumer) {
-            this.consumer = consumer;
-        }
-
         @Override
         public void onComplete(AsyncEvent event) throws IOException {
         }