cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1310146 - /cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/client/CustomerServiceClient.java
Date Fri, 06 Apr 2012 01:28:49 GMT
Author: dkulp
Date: Fri Apr  6 01:28:48 2012
New Revision: 1310146

URL: http://svn.apache.org/viewvc?rev=1310146&view=rev
Log:
Minor eclipse warning fix

Modified:
    cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/client/CustomerServiceClient.java

Modified: cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/client/CustomerServiceClient.java
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/client/CustomerServiceClient.java?rev=1310146&r1=1310145&r2=1310146&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/client/CustomerServiceClient.java
(original)
+++ cxf/trunk/distribution/src/main/release/samples/wsdl_first/src/main/java/com/example/customerservice/client/CustomerServiceClient.java
Fri Apr  6 01:28:48 2012
@@ -34,7 +34,7 @@ public class CustomerServiceClient {
             File wsdlFile = new File(args[0]);
             URL wsdlURL;
             if (wsdlFile.exists()) {
-                wsdlURL = wsdlFile.toURL();
+                wsdlURL = wsdlFile.toURI().toURL();
             } else {
                 wsdlURL = new URL(args[0]);
             }



Mime
View raw message