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

zhfeng pushed a commit to branch camel-3.14.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 476f40798e1bd8bd97f101ed65bd1be6a4a2495d
Author: Zheng Feng <zh.f...@gmail.com>
AuthorDate: Sun Mar 19 13:17:23 2023 +0800

    Fix CS
---
 .../src/test/java/org/apache/camel/processor/SagaTimeoutTest.java      | 2 +-
 .../src/main/java/org/apache/camel/support/CamelContextHelper.java     | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git 
a/core/camel-core/src/test/java/org/apache/camel/processor/SagaTimeoutTest.java 
b/core/camel-core/src/test/java/org/apache/camel/processor/SagaTimeoutTest.java
index 03d0ba6936c..29c085f501b 100644
--- 
a/core/camel-core/src/test/java/org/apache/camel/processor/SagaTimeoutTest.java
+++ 
b/core/camel-core/src/test/java/org/apache/camel/processor/SagaTimeoutTest.java
@@ -85,7 +85,7 @@ public class SagaTimeoutTest extends ContextTestSupport {
         CamelExecutionException ex = 
assertThrows(CamelExecutionException.class,
                 () -> {
                     template.sendBody("direct:saga-multi-participants", 
"Hello");
-            });
+                });
 
         assertEquals("Cannot begin: status is COMPENSATED", 
ex.getCause().getMessage());
         end.assertIsSatisfied();
diff --git 
a/core/camel-support/src/main/java/org/apache/camel/support/CamelContextHelper.java
 
b/core/camel-support/src/main/java/org/apache/camel/support/CamelContextHelper.java
index c73b9c4bc98..bd93ff78c29 100644
--- 
a/core/camel-support/src/main/java/org/apache/camel/support/CamelContextHelper.java
+++ 
b/core/camel-support/src/main/java/org/apache/camel/support/CamelContextHelper.java
@@ -343,8 +343,7 @@ public final class CamelContextHelper {
      * Gets the maximum simple cache size.
      * <p/>
      * Will use the property set on CamelContext with the key {@link 
Exchange#MAXIMUM_SIMPLE_CACHE_SIZE}. If no property
-     * has been set, then it will fallback to return a size of 1000.
-     * Use value of 0 or negative to disable the cache.
+     * has been set, then it will fallback to return a size of 1000. Use value 
of 0 or negative to disable the cache.
      *
      * @param  camelContext             the camel context
      * @return                          the maximum cache size

Reply via email to