axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r332107 - /webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/emitter/MultiLanguageClientEmitter.java
Date Wed, 09 Nov 2005 19:18:16 GMT
Author: dims
Date: Wed Nov  9 11:18:13 2005
New Revision: 332107

URL: http://svn.apache.org/viewcvs?rev=332107&view=rev
Log:
defensive programming


Modified:
    webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/emitter/MultiLanguageClientEmitter.java

Modified: webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/emitter/MultiLanguageClientEmitter.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/emitter/MultiLanguageClientEmitter.java?rev=332107&r1=332106&r2=332107&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/emitter/MultiLanguageClientEmitter.java
(original)
+++ webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/emitter/MultiLanguageClientEmitter.java
Wed Nov  9 11:18:13 2005
@@ -955,7 +955,7 @@
 
         while (extIterator!=null && extIterator.hasNext()) {
             WSDLExtensibilityElement element = (WSDLExtensibilityElement) extIterator.next();
-            if (element.getType().equals(ExtensionConstants.SOAP_11_HEADER)) {
+            if (ExtensionConstants.SOAP_11_HEADER.equals(element.getType())) {
                 SOAPHeader header = (SOAPHeader)element;
                 soapHeaderParameterQNameList.add(header.getElement());
             }



Mime
View raw message