axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nadira...@apache.org
Subject svn commit: r657210 - /webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/WSDL2Ws.java
Date Fri, 16 May 2008 21:06:03 GMT
Author: nadiramra
Date: Fri May 16 14:06:03 2008
New Revision: 657210

URL: http://svn.apache.org/viewvc?rev=657210&view=rev
Log:
Minor. Remove unused/unnecessary variables.

Modified:
    webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/WSDL2Ws.java

Modified: webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/WSDL2Ws.java
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/WSDL2Ws.java?rev=657210&r1=657209&r2=657210&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/WSDL2Ws.java (original)
+++ webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/WSDL2Ws.java Fri May 16
14:06:03 2008
@@ -350,14 +350,11 @@
         if (qname != null)
         {
             type = this.typeMap.getType(qname);
-            //boolean wrapped = true; //TODO take this from a commandline argument
-            boolean wrapped = wsdlWrappingStyle;
-
             if (type == null)
                 throw new WrapperFault("Unregistered type " + qname + " referred");
 
             //get inner attributes and elements and add them as parameters 
-            if (wrapped)
+            if (wsdlWrappingStyle)
                 addOutputElementsToMethodInfo(minfo, type);
             else
             { 
@@ -504,12 +501,10 @@
             if (qname != null)
             {
                 type = this.typeMap.getType(qname);
-                boolean wrapped = wsdlWrappingStyle;
-    
                 if (type == null)
                     throw new WrapperFault("unregistered type " + qname + " referred");
     
-                if (wrapped)
+                if (wsdlWrappingStyle)
                 {
                     //get inner attributes and elements and add them as parameters
                     addInputElementsToMethodInfo(minfo, type);



Mime
View raw message