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/07/04 05:50:51 UTC

svn commit: r673900 - /webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/info/Type.java

Author: nadiramra
Date: Thu Jul  3 20:50:51 2008
New Revision: 673900

URL: http://svn.apache.org/viewvc?rev=673900&view=rev
Log:
AXISCPP-716 - Support for the attribute construct 'use'

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

Modified: webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/info/Type.java
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/info/Type.java?rev=673900&r1=673899&r2=673900&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/info/Type.java (original)
+++ webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/info/Type.java Thu Jul  3 20:50:51 2008
@@ -191,7 +191,11 @@
 
     public void addAttributes(Vector attrs)
     {
-        this.vAttributes = attrs;
+        // Needs to be done this way so we can take care of attributes from extensions
+        if (this.vAttributes == null)
+            this.vAttributes = attrs;
+        else
+            this.vAttributes.addAll(attrs);
     }
 
     public Iterator getElementnames()