cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1453725 - /cxf/trunk/tools/wsdlto/core/src/main/java/org/apache/cxf/tools/wsdlto/WSDLToJavaContainer.java
Date Thu, 07 Mar 2013 08:17:13 GMT
Author: ema
Date: Thu Mar  7 08:17:13 2013
New Revision: 1453725

URL: http://svn.apache.org/r1453725
Log:
[CXF-4871]:fix the compile issue with jdk5

Modified:
    cxf/trunk/tools/wsdlto/core/src/main/java/org/apache/cxf/tools/wsdlto/WSDLToJavaContainer.java

Modified: cxf/trunk/tools/wsdlto/core/src/main/java/org/apache/cxf/tools/wsdlto/WSDLToJavaContainer.java
URL: http://svn.apache.org/viewvc/cxf/trunk/tools/wsdlto/core/src/main/java/org/apache/cxf/tools/wsdlto/WSDLToJavaContainer.java?rev=1453725&r1=1453724&r2=1453725&view=diff
==============================================================================
--- cxf/trunk/tools/wsdlto/core/src/main/java/org/apache/cxf/tools/wsdlto/WSDLToJavaContainer.java
(original)
+++ cxf/trunk/tools/wsdlto/core/src/main/java/org/apache/cxf/tools/wsdlto/WSDLToJavaContainer.java
Thu Mar  7 08:17:13 2013
@@ -374,7 +374,7 @@ public class WSDLToJavaContainer extends
                 URI relativePath = parentFile.relativize(new URI(file.getPath()));
                 String name = relativePath.toString().replace("\\", "/");
                 if (file.isDirectory()) {
-                    if (!name.isEmpty()) {
+                    if (!StringUtils.isEmpty(name)) {
                         if (!name.endsWith("/")) {
                             name += "/";
                         }



Mime
View raw message