cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r702248 - /cxf/trunk/api/src/main/java/org/apache/cxf/databinding/AbstractDataBinding.java
Date Mon, 06 Oct 2008 20:07:42 GMT
Author: sergeyb
Date: Mon Oct  6 13:07:42 2008
New Revision: 702248

URL: http://svn.apache.org/viewvc?rev=702248&view=rev
Log:
Yet another update to avoid a possible NPE

Modified:
    cxf/trunk/api/src/main/java/org/apache/cxf/databinding/AbstractDataBinding.java

Modified: cxf/trunk/api/src/main/java/org/apache/cxf/databinding/AbstractDataBinding.java
URL: http://svn.apache.org/viewvc/cxf/trunk/api/src/main/java/org/apache/cxf/databinding/AbstractDataBinding.java?rev=702248&r1=702247&r2=702248&view=diff
==============================================================================
--- cxf/trunk/api/src/main/java/org/apache/cxf/databinding/AbstractDataBinding.java (original)
+++ cxf/trunk/api/src/main/java/org/apache/cxf/databinding/AbstractDataBinding.java Mon Oct
 6 13:07:42 2008
@@ -84,7 +84,7 @@
         
         SchemaInfo schemaInfo = serviceInfo.getSchema(ns);
         if (schemaInfo != null && (systemId == null && schemaInfo.getSystemId()
== null 
-            || systemId != null && schemaInfo.getSystemId().equalsIgnoreCase(systemId)))
{
+            || systemId != null && systemId.equalsIgnoreCase(schemaInfo.getSystemId())))
{
             return schemaInfo.getSchema();
         }
         



Mime
View raw message