You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2023/02/28 08:47:16 UTC

[camel] branch main updated: Regen for commit cb14edd0e4f4746333e3aed780d0f44dbb6696ca

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

acosentino 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 610c31d2e4a Regen for commit cb14edd0e4f4746333e3aed780d0f44dbb6696ca
610c31d2e4a is described below

commit 610c31d2e4ab6f70fe815388197789fffc998b4b
Author: orpiske <or...@users.noreply.github.com>
AuthorDate: Tue Feb 28 08:41:04 2023 +0000

    Regen for commit cb14edd0e4f4746333e3aed780d0f44dbb6696ca
    
    Signed-off-by: GitHub <no...@github.com>
---
 .../main/java/org/apache/camel/main/MainDurationEventNotifier.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/camel-main/src/main/java/org/apache/camel/main/MainDurationEventNotifier.java b/core/camel-main/src/main/java/org/apache/camel/main/MainDurationEventNotifier.java
index f87a8f5c76d..020cea8a283 100644
--- a/core/camel-main/src/main/java/org/apache/camel/main/MainDurationEventNotifier.java
+++ b/core/camel-main/src/main/java/org/apache/camel/main/MainDurationEventNotifier.java
@@ -96,7 +96,8 @@ public class MainDurationEventNotifier extends EventNotifierSupport {
 
         boolean complete = false;
         if (maxMessages > 0) {
-            complete = event.getType() == CamelEvent.Type.ExchangeCompleted || event.getType() == CamelEvent.Type.ExchangeFailed;
+            complete = event.getType() == CamelEvent.Type.ExchangeCompleted
+                    || event.getType() == CamelEvent.Type.ExchangeFailed;
 
             boolean result = doneMessages.incrementAndGet() >= maxMessages;
             if (LOG.isTraceEnabled()) {
@@ -117,7 +118,6 @@ public class MainDurationEventNotifier extends EventNotifierSupport {
             }
         }
 
-
         // idle reacts on both incoming and complete messages
         if (maxIdleSeconds > 0) {
             final boolean begin = event.getType() == CamelEvent.Type.ExchangeCreated;