You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by na...@apache.org on 2008/05/16 23:06:03 UTC
svn commit: r657210 -
/webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/WSDL2Ws.java
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);