This is an automated email from the ASF dual-hosted git repository.
lburgazzoli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new 2bbbf36 Fix CS
2bbbf36 is described below
commit 2bbbf36c395eadbbdfcd3c1b7f86bd6dfd35816d
Author: lburgazzoli <[email protected]>
AuthorDate: Sat Jun 9 00:03:11 2018 +0200
Fix CS
---
.../main/java/org/apache/camel/service/lra/LRASagaCoordinator.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git
a/components/camel-lra/src/main/java/org/apache/camel/service/lra/LRASagaCoordinator.java
b/components/camel-lra/src/main/java/org/apache/camel/service/lra/LRASagaCoordinator.java
index c870e5e..fcee5ba 100644
---
a/components/camel-lra/src/main/java/org/apache/camel/service/lra/LRASagaCoordinator.java
+++
b/components/camel-lra/src/main/java/org/apache/camel/service/lra/LRASagaCoordinator.java
@@ -44,7 +44,9 @@ public class LRASagaCoordinator implements
CamelSagaCoordinator {
try {
sagaStep = LRASagaStep.fromCamelSagaStep(step, exchange);
} catch (RuntimeException ex) {
- return CompletableFuture.supplyAsync(() -> {throw ex;});
+ return CompletableFuture.supplyAsync(() -> {
+ throw ex;
+ });
}
return sagaService.getClient().join(this.lraURL, sagaStep);
}
--
To stop receiving notification emails like this one, please contact
[email protected].