xmlbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ra...@apache.org
Subject svn commit: r330121 - /xmlbeans/branches/1.x/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaTypeSystemImpl.java
Date Tue, 01 Nov 2005 20:49:45 GMT
Author: radup
Date: Tue Nov  1 12:49:43 2005
New Revision: 330121

URL: http://svn.apache.org/viewcvs?rev=330121&view=rev
Log:
Fix NPE when reading Java binding information for redefined types. Integ from the V2 line.

Modified:
    xmlbeans/branches/1.x/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaTypeSystemImpl.java

Modified: xmlbeans/branches/1.x/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaTypeSystemImpl.java
URL: http://svn.apache.org/viewcvs/xmlbeans/branches/1.x/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaTypeSystemImpl.java?rev=330121&r1=330120&r2=330121&view=diff
==============================================================================
--- xmlbeans/branches/1.x/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaTypeSystemImpl.java
(original)
+++ xmlbeans/branches/1.x/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaTypeSystemImpl.java
Tue Nov  1 12:49:43 2005
@@ -1843,8 +1843,10 @@
                         impl.setContainerFieldIndex((short)2, readShort());
                         break;
                 }
-                impl.setFullJavaName(readString());
-                impl.setFullJavaImplName(readString());
+                String jn = readString();
+                impl.setFullJavaName(jn == null ? "" : jn);
+                jn = readString();
+                impl.setFullJavaImplName(jn == null ? "" : jn);
 
                 impl.setAnonymousTypeRefs(readTypeRefArray());
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: commits-help@xmlbeans.apache.org


Mime
View raw message