cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r702259 - /cxf/branches/2.1.x-fixes/api/src/main/java/org/apache/cxf/databinding/AbstractDataBinding.java
Date Mon, 06 Oct 2008 20:55:48 GMT
Author: sergeyb
Date: Mon Oct  6 13:55:48 2008
New Revision: 702259

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

Modified:
    cxf/branches/2.1.x-fixes/api/src/main/java/org/apache/cxf/databinding/AbstractDataBinding.java

Modified: cxf/branches/2.1.x-fixes/api/src/main/java/org/apache/cxf/databinding/AbstractDataBinding.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.1.x-fixes/api/src/main/java/org/apache/cxf/databinding/AbstractDataBinding.java?rev=702259&r1=702258&r2=702259&view=diff
==============================================================================
--- cxf/branches/2.1.x-fixes/api/src/main/java/org/apache/cxf/databinding/AbstractDataBinding.java
(original)
+++ cxf/branches/2.1.x-fixes/api/src/main/java/org/apache/cxf/databinding/AbstractDataBinding.java
Mon Oct  6 13:55:48 2008
@@ -83,7 +83,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