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 2019/04/23 07:55:27 UTC
[camel] branch master updated: Fixed CS for Camel-JBPM
This is an automated email from the ASF dual-hosted git repository.
acosentino 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 eef1524 Fixed CS for Camel-JBPM
eef1524 is described below
commit eef1524c31b5ef6ef75c6bb80195caaad16e6350
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Apr 23 09:54:59 2019 +0200
Fixed CS for Camel-JBPM
---
.../CamelWorkItemHandlerIntegrationTests.java | 2 +-
.../workitem/InOutCamelWorkItemHandlerTest.java | 22 +++++++++++-----------
2 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/components/camel-jbpm/src/test/java/org/apache/camel/component/jbpm/workitem/CamelWorkItemHandlerIntegrationTests.java b/components/camel-jbpm/src/test/java/org/apache/camel/component/jbpm/workitem/CamelWorkItemHandlerIntegrationTests.java
index 125b50b..2390422 100644
--- a/components/camel-jbpm/src/test/java/org/apache/camel/component/jbpm/workitem/CamelWorkItemHandlerIntegrationTests.java
+++ b/components/camel-jbpm/src/test/java/org/apache/camel/component/jbpm/workitem/CamelWorkItemHandlerIntegrationTests.java
@@ -260,7 +260,7 @@ public class CamelWorkItemHandlerIntegrationTests extends CamelTestSupport {
.doTry()
.throwException(new IllegalArgumentException("Illegal contennt!"))
.doCatch(IllegalArgumentException.class)
- .process(new Processor(){
+ .process(new Processor() {
@Override
public void process(Exchange exchange) throws Exception {
diff --git a/components/camel-jbpm/src/test/java/org/apache/camel/component/jbpm/workitem/InOutCamelWorkItemHandlerTest.java b/components/camel-jbpm/src/test/java/org/apache/camel/component/jbpm/workitem/InOutCamelWorkItemHandlerTest.java
index 6e45ac1..7aa8c02 100644
--- a/components/camel-jbpm/src/test/java/org/apache/camel/component/jbpm/workitem/InOutCamelWorkItemHandlerTest.java
+++ b/components/camel-jbpm/src/test/java/org/apache/camel/component/jbpm/workitem/InOutCamelWorkItemHandlerTest.java
@@ -266,11 +266,11 @@ public class InOutCamelWorkItemHandlerTest {
TestWorkItemManager manager = new TestWorkItemManager();
try {
- handler.executeWorkItem(workItem, manager);
- throw new RuntimeException("The test expects an exception. This code should never be reached.");
+ handler.executeWorkItem(workItem, manager);
+ throw new RuntimeException("The test expects an exception. This code should never be reached.");
} catch (Throwable wihRe) {
- assertThat(wihRe, is(instanceOf(WorkItemHandlerRuntimeException.class)));
- assertThat(wihRe.getCause(), is(instanceOf(ToBeHandledException.class)));
+ assertThat(wihRe, is(instanceOf(WorkItemHandlerRuntimeException.class)));
+ assertThat(wihRe.getCause(), is(instanceOf(ToBeHandledException.class)));
}
} finally {
@@ -315,11 +315,11 @@ public class InOutCamelWorkItemHandlerTest {
TestWorkItemManager manager = new TestWorkItemManager();
try {
- handler.executeWorkItem(workItem, manager);
- throw new RuntimeException("The test expects an exception. This code should never be reached.");
+ handler.executeWorkItem(workItem, manager);
+ throw new RuntimeException("The test expects an exception. This code should never be reached.");
} catch (Throwable wihRe) {
- assertThat(wihRe, is(instanceOf(WorkItemHandlerRuntimeException.class)));
- assertThat(wihRe.getCause(), is(instanceOf(ToBeHandledException.class)));
+ assertThat(wihRe, is(instanceOf(WorkItemHandlerRuntimeException.class)));
+ assertThat(wihRe.getCause(), is(instanceOf(ToBeHandledException.class)));
}
} finally {
@@ -363,10 +363,10 @@ public class InOutCamelWorkItemHandlerTest {
TestWorkItemManager manager = new TestWorkItemManager();
try {
- handler.executeWorkItem(workItem, manager);
- throw new RuntimeException("The test expects an exception. This code should never be reached.");
+ handler.executeWorkItem(workItem, manager);
+ throw new RuntimeException("The test expects an exception. This code should never be reached.");
} catch (Throwable wihRe) {
- assertThat(wihRe, is(instanceOf(NotToBeHandledException.class)));
+ assertThat(wihRe, is(instanceOf(NotToBeHandledException.class)));
}
} finally {