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


The following commit(s) were added to refs/heads/main by this push:
     new 82bae503a78 (chores) camel-base-engine: fix misplaced comment
82bae503a78 is described below

commit 82bae503a78abcb4a7939846a155cc0d3ed93bd4
Author: Otavio Rodolfo Piske <angusyo...@gmail.com>
AuthorDate: Tue Feb 28 07:39:19 2023 +0100

    (chores) camel-base-engine: fix misplaced comment
---
 .../main/java/org/apache/camel/impl/engine/CamelInternalProcessor.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/CamelInternalProcessor.java
 
b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/CamelInternalProcessor.java
index 14022ccf156..909045a74e7 100644
--- 
a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/CamelInternalProcessor.java
+++ 
b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/CamelInternalProcessor.java
@@ -801,10 +801,10 @@ public class CamelInternalProcessor extends 
DelegateAsyncProcessor implements In
                 UnitOfWorkHelper.doneUow(uow, exchange);
             }
 
+            // after UoW is done lets pop the route context which must be done 
on every existing UoW
             if (route != null && existing != null) {
                 existing.popRoute();
             }
-            // after UoW is done lets pop the route context which must be done 
on every existing UoW
         }
 
         protected UnitOfWork createUnitOfWork(Exchange exchange) {

Reply via email to