cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhar...@apache.org
Subject svn commit: r742914 - /cxf/trunk/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/wsdl/WSDLToCorbaBinding.java
Date Tue, 10 Feb 2009 09:37:16 GMT
Author: bharath
Date: Tue Feb 10 09:37:11 2009
New Revision: 742914

URL: http://svn.apache.org/viewvc?rev=742914&view=rev
Log:
The Xml node value trimming was not being done correctly. Strings are immutable.

Modified:
    cxf/trunk/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/wsdl/WSDLToCorbaBinding.java

Modified: cxf/trunk/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/wsdl/WSDLToCorbaBinding.java
URL: http://svn.apache.org/viewvc/cxf/trunk/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/wsdl/WSDLToCorbaBinding.java?rev=742914&r1=742913&r2=742914&view=diff
==============================================================================
--- cxf/trunk/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/wsdl/WSDLToCorbaBinding.java
(original)
+++ cxf/trunk/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/wsdl/WSDLToCorbaBinding.java
Tue Feb 10 09:37:11 2009
@@ -575,7 +575,7 @@
                         NodeList nlist = appInfo.getMarkup();
                         Node node = nlist.item(0);
                         String info = node.getNodeValue();
-                        info.trim();
+                        info = info.trim();
                         String annotationBindingName = "";
                         if ("corba:binding=".equals(info.substring(0, 14))) {
                             annotationBindingName = info.substring(14);



Mime
View raw message