You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by gz...@apache.org on 2023/03/29 06:16:07 UTC
[camel] branch camel-3.18.x updated: [Minor] Apply formatter
This is an automated email from the ASF dual-hosted git repository.
gzurowski pushed a commit to branch camel-3.18.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-3.18.x by this push:
new 57fb8ac1429 [Minor] Apply formatter
57fb8ac1429 is described below
commit 57fb8ac1429b979ee46b6416634da6b3a79b5bb0
Author: Gregor Zurowski <gr...@zurowski.org>
AuthorDate: Wed Mar 29 08:15:15 2023 +0200
[Minor] Apply formatter
---
.../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 5db12c99cd7..ebd4b8cc211 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
@@ -338,8 +338,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