summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/testing
diff options
context:
space:
mode:
authorscottkurz <scottkurz@13f79535-47bb-0310-9956-ffa450edef68>2011-07-27 14:23:44 +0000
committerscottkurz <scottkurz@13f79535-47bb-0310-9956-ffa450edef68>2011-07-27 14:23:44 +0000
commitcc3f00295094333c61dffae1a0dd78ae18bf0002 (patch)
treecdb92fbdc97096009723b9245416f0359ab1c273 /sca-java-2.x/trunk/testing
parentffba7b48635f3a54613d5673a99e0ee6a45af38c (diff)
Adjust equality check from == to equals() to accomodate different style of data transform in binding.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1151477 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/testing')
-rw-r--r--sca-java-2.x/trunk/testing/itest/exceptions/src/main/java/org/apache/tuscany/sca/test/exceptions/impl/RemoteExceptionHandlerImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/testing/itest/exceptions/src/main/java/org/apache/tuscany/sca/test/exceptions/impl/RemoteExceptionHandlerImpl.java b/sca-java-2.x/trunk/testing/itest/exceptions/src/main/java/org/apache/tuscany/sca/test/exceptions/impl/RemoteExceptionHandlerImpl.java
index c5b54ff902..a8a065f0e2 100644
--- a/sca-java-2.x/trunk/testing/itest/exceptions/src/main/java/org/apache/tuscany/sca/test/exceptions/impl/RemoteExceptionHandlerImpl.java
+++ b/sca-java-2.x/trunk/testing/itest/exceptions/src/main/java/org/apache/tuscany/sca/test/exceptions/impl/RemoteExceptionHandlerImpl.java
@@ -45,7 +45,7 @@ public class RemoteExceptionHandlerImpl implements ExceptionHandler {
String result = INIT;
try {
theGood = result = exceptionThrower.theGood();
- assert result == ExceptionThrower.SO_THEY_SAY;
+ assert result.equals(ExceptionThrower.SO_THEY_SAY);
} catch (Throwable e) {
assert result == INIT;
assert false;