cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r959394 - /cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/ParameterProcessor.java
Date Wed, 30 Jun 2010 18:12:00 GMT
Author: dkulp
Date: Wed Jun 30 18:12:00 2010
New Revision: 959394

URL: http://svn.apache.org/viewvc?rev=959394&view=rev
Log:
If only one return param, it's already mapped.  Return

Modified:
    cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/ParameterProcessor.java

Modified: cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/ParameterProcessor.java
URL: http://svn.apache.org/viewvc/cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/ParameterProcessor.java?rev=959394&r1=959393&r2=959394&view=diff
==============================================================================
--- cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/ParameterProcessor.java
(original)
+++ cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/ParameterProcessor.java
Wed Jun 30 18:12:00 2010
@@ -441,11 +441,9 @@ public class ParameterProcessor extends 
                     jreturn.setTargetNamespace("");
                 }
                 method.setReturn(jreturn);
-                return;
             }
-
+            return;
         }
-
         for (QName outElement : outputWrapElement) {
             if ("return".equals(outElement.getLocalPart())) {
                 if (method.getReturn() != null) {
@@ -500,7 +498,7 @@ public class ParameterProcessor extends 
                         }
                     }
                 }
-
+    
                 addParameter(method, jp);
             }
         }



Mime
View raw message