From dac345d5480d52c4071c22fbdeba605dc1236cc0 Mon Sep 17 00:00:00 2001 From: scottkurz Date: Wed, 26 Jan 2011 01:18:02 +0000 Subject: Fix more issues with multiple outputs. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1063548 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/tuscany/sca/databinding/jaxb/JAXBContextHelper.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sca-java-2.x/trunk/modules/databinding-jaxb/src/main/java/org') diff --git a/sca-java-2.x/trunk/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/JAXBContextHelper.java b/sca-java-2.x/trunk/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/JAXBContextHelper.java index 9fa9038006..f369b491e7 100644 --- a/sca-java-2.x/trunk/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/JAXBContextHelper.java +++ b/sca-java-2.x/trunk/modules/databinding-jaxb/src/main/java/org/apache/tuscany/sca/databinding/jaxb/JAXBContextHelper.java @@ -462,9 +462,8 @@ public final class JAXBContextHelper { { for (DataType dt1 : op.getInputType().getLogical()) { dataTypes.add(dt1); - } - DataType dt2 = op.getOutputType(); - if (dt2 != null) { + } + for (DataType dt2 : op.getOutputType().getLogical()) { dataTypes.add(dt2); } } -- cgit v1.2.3