From fb049e88bd98a7ca1e256b1b5e790962580ffd8e Mon Sep 17 00:00:00 2001 From: antelder Date: Thu, 12 Feb 2009 12:46:32 +0000 Subject: 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 --- .../java/org/apache/tuscany/sca/binding/jms/NoReplyToTestCase.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'branches') 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 -- cgit v1.2.3