diff options
Diffstat (limited to '')
4 files changed, 4 insertions, 4 deletions
diff --git a/sca-java-2.x/trunk/itest/jms/callbacks/src/main/java/org/apache/tuscany/sca/binding/jms/JMSClientImpl.java b/sca-java-2.x/trunk/itest/jms/callbacks/src/main/java/org/apache/tuscany/sca/binding/jms/JMSClientImpl.java index a4d5190af3..f90db55dda 100644 --- a/sca-java-2.x/trunk/itest/jms/callbacks/src/main/java/org/apache/tuscany/sca/binding/jms/JMSClientImpl.java +++ b/sca-java-2.x/trunk/itest/jms/callbacks/src/main/java/org/apache/tuscany/sca/binding/jms/JMSClientImpl.java @@ -34,7 +34,7 @@ public class JMSClientImpl implements JMSClient, JMSServiceCallback { public void aClientMethod() {
System.out.println("aClientMethod " + this + " on thread " + Thread.currentThread());
- myService.someMethod(" -> someMethod "); // calls the server
+ myService.someMethod("-> someMethod"); // calls the server
System.out.println("aClientMethod return from someMethod on thread " + Thread.currentThread());
}
diff --git a/sca-java-2.x/trunk/itest/jms/callbacks/src/main/java/org/apache/tuscany/sca/binding/jms/JMSServiceImpl.java b/sca-java-2.x/trunk/itest/jms/callbacks/src/main/java/org/apache/tuscany/sca/binding/jms/JMSServiceImpl.java index e8357338ae..cec4e6fa6d 100644 --- a/sca-java-2.x/trunk/itest/jms/callbacks/src/main/java/org/apache/tuscany/sca/binding/jms/JMSServiceImpl.java +++ b/sca-java-2.x/trunk/itest/jms/callbacks/src/main/java/org/apache/tuscany/sca/binding/jms/JMSServiceImpl.java @@ -38,7 +38,7 @@ public class JMSServiceImpl implements JMSService { public void someMethod(String arg) {
System.out.println("someMethod '" + arg + "' on thread " + Thread.currentThread());
try {
- myServiceCallback.receiveResult(arg + " -> receiveResult ");
+ myServiceCallback.receiveResult(arg + "-> receiveResult");
} catch(Exception e) {
System.out.println("RuntimeException invoking receiveResult: " + e.toString());
e.printStackTrace();
diff --git a/sca-java-2.x/trunk/itest/jms/callbacks/src/test/java/org/apache/tuscany/sca/binding/jms/CallbackTestCase.java b/sca-java-2.x/trunk/itest/jms/callbacks/src/test/java/org/apache/tuscany/sca/binding/jms/CallbackTestCase.java index 18911ad8b6..1661a4614c 100644 --- a/sca-java-2.x/trunk/itest/jms/callbacks/src/test/java/org/apache/tuscany/sca/binding/jms/CallbackTestCase.java +++ b/sca-java-2.x/trunk/itest/jms/callbacks/src/test/java/org/apache/tuscany/sca/binding/jms/CallbackTestCase.java @@ -49,7 +49,7 @@ public class CallbackTestCase { JMSClientImpl.lock.wait(5000);
}
- assertEquals(" -> someMethod -> receiveResult ", JMSClientImpl.result);
+ assertEquals("-> someMethod-> receiveResult", JMSClientImpl.result);
}
@After
diff --git a/sca-java-2.x/trunk/itest/jms/callbacks/src/test/java/org/apache/tuscany/sca/binding/jms/TempCallbackQTestCase.java b/sca-java-2.x/trunk/itest/jms/callbacks/src/test/java/org/apache/tuscany/sca/binding/jms/TempCallbackQTestCase.java index b335add358..5897df6784 100644 --- a/sca-java-2.x/trunk/itest/jms/callbacks/src/test/java/org/apache/tuscany/sca/binding/jms/TempCallbackQTestCase.java +++ b/sca-java-2.x/trunk/itest/jms/callbacks/src/test/java/org/apache/tuscany/sca/binding/jms/TempCallbackQTestCase.java @@ -51,7 +51,7 @@ public class TempCallbackQTestCase { JMSClientImpl.lock.wait(5000);
}
- assertEquals(" -> someMethod -> receiveResult ", JMSClientImpl.result);
+ assertEquals("-> someMethod-> receiveResult", JMSClientImpl.result);
}
@After
|