summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-1.x/itest
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-02-12 12:46:32 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-02-12 12:46:32 +0000
commitfb049e88bd98a7ca1e256b1b5e790962580ffd8e (patch)
treea52ef4913734c70d3887f36570558dc95372ab16 /branches/sca-java-1.x/itest
parent7cdd052e6abb8e9d82c8ebc74ded9b022449caff (diff)
Update noreply itest for change to not return Object arrays
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@743706 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.x/itest')
-rw-r--r--branches/sca-java-1.x/itest/jms-noreplyto/src/test/java/org/apache/tuscany/sca/binding/jms/NoReplyToTestCase.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/branches/sca-java-1.x/itest/jms-noreplyto/src/test/java/org/apache/tuscany/sca/binding/jms/NoReplyToTestCase.java b/branches/sca-java-1.x/itest/jms-noreplyto/src/test/java/org/apache/tuscany/sca/binding/jms/NoReplyToTestCase.java
index ed301d47f1..3db0e634be 100644
--- a/branches/sca-java-1.x/itest/jms-noreplyto/src/test/java/org/apache/tuscany/sca/binding/jms/NoReplyToTestCase.java
+++ b/branches/sca-java-1.x/itest/jms-noreplyto/src/test/java/org/apache/tuscany/sca/binding/jms/NoReplyToTestCase.java
@@ -85,9 +85,7 @@ public class NoReplyToTestCase {
if (m == null) {
throw new RuntimeException("No reply message received");
}
- Serializable o = ((ObjectMessage)m).getObject();
- // TODO: investigate if its correct that the response is an Object[]
- return ((Object[])o)[0].toString();
+ return ((ObjectMessage)m).getObject().toString();
}
@After