cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r790642 - /cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/EndpointImpl.java
Date Thu, 02 Jul 2009 16:19:43 GMT
Author: dkulp
Date: Thu Jul  2 16:19:43 2009
New Revision: 790642

URL: http://svn.apache.org/viewvc?rev=790642&view=rev
Log:
Fix a NPE I introduced.

Modified:
    cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/EndpointImpl.java

Modified: cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/EndpointImpl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/EndpointImpl.java?rev=790642&r1=790641&r2=790642&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/EndpointImpl.java (original)
+++ cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/EndpointImpl.java Thu Jul
 2 16:19:43 2009
@@ -447,7 +447,11 @@
     }
 
     public void setWsdlLocation(String wsdlLocation) {
-        this.wsdlLocation = new String(wsdlLocation);
+        if (wsdlLocation != null) {
+            this.wsdlLocation = new String(wsdlLocation);
+        } else {
+            this.wsdlLocation = null;
+        }
     }
 
     public void setBindingUri(String binding) {



Mime
View raw message