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 2024/04/24 11:07:49 UTC
(camel) 07/08: (chores) camel-core: code cleanup
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 a5bfcd1de2faa01926fad9276a618603c77147af
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Tue Apr 23 11:56:23 2024 +0200
(chores) camel-core: code cleanup
Added missing throw
---
.../component/file/FileConsumerPollStrategyStopOnRollbackTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerPollStrategyStopOnRollbackTest.java b/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerPollStrategyStopOnRollbackTest.java
index fc275e7f18c..d0031783aab 100644
--- a/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerPollStrategyStopOnRollbackTest.java
+++ b/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerPollStrategyStopOnRollbackTest.java
@@ -82,7 +82,7 @@ public class FileConsumerPollStrategyStopOnRollbackTest extends ContextTestSuppo
try {
consumer.start();
} catch (Exception e) {
- RuntimeCamelException.wrapRuntimeCamelException(e);
+ throw RuntimeCamelException.wrapRuntimeCamelException(e);
}
if (counter++ == 0) {