cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1325378 - /cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/endpoint/dynamic/DynamicClientFactory.java
Date Thu, 12 Apr 2012 16:57:03 GMT
Author: dkulp
Date: Thu Apr 12 16:57:02 2012
New Revision: 1325378

URL: http://svn.apache.org/viewvc?rev=1325378&view=rev
Log:
Fix NPE

Modified:
    cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/endpoint/dynamic/DynamicClientFactory.java

Modified: cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/endpoint/dynamic/DynamicClientFactory.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/endpoint/dynamic/DynamicClientFactory.java?rev=1325378&r1=1325377&r2=1325378&view=diff
==============================================================================
--- cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/endpoint/dynamic/DynamicClientFactory.java
(original)
+++ cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/endpoint/dynamic/DynamicClientFactory.java
Thu Apr 12 16:57:02 2012
@@ -510,7 +510,7 @@ public class DynamicClientFactory {
                     if (key.contains("#")) {
                         for (ServiceInfo si : serviceList) {
                             for (SchemaInfo sci : si.getSchemas()) {
-                                if (key.equals(sci.getSystemId())) {
+                                if (key != null && key.equals(sci.getSystemId()))
{
                                     key = null;
                                 }
                             }



Mime
View raw message