You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlbeans.apache.org by pc...@apache.org on 2004/02/19 03:34:45 UTC
cvs commit: xml-xmlbeans/v2/src/binding/org/apache/xmlbeans/impl/binding/tylar ExplodedTylarImpl.java
pcal 2004/02/18 18:34:45
Modified: v2/src/binding/org/apache/xmlbeans/impl/binding/tylar
ExplodedTylarImpl.java
Log:
fix NPE in ExplodedTylarImpl
Revision Changes Path
1.8 +3 -0 xml-xmlbeans/v2/src/binding/org/apache/xmlbeans/impl/binding/tylar/ExplodedTylarImpl.java
Index: ExplodedTylarImpl.java
===================================================================
RCS file: /home/cvs/xml-xmlbeans/v2/src/binding/org/apache/xmlbeans/impl/binding/tylar/ExplodedTylarImpl.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ExplodedTylarImpl.java 12 Feb 2004 20:06:08 -0000 1.7
+++ ExplodedTylarImpl.java 19 Feb 2004 02:34:45 -0000 1.8
@@ -147,6 +147,9 @@
public void writeSchema(SchemaDocument xsd, String schemaFileName)
throws IOException {
+ if (schemaFileName == null) {
+ throw new IllegalArgumentException("null schemaFileName");
+ }
if (mSchemaDocuments == null) mSchemaDocuments = new ArrayList();
mSchemaDocuments.add(xsd);
writeXsd(xsd, new File(mSchemaDir, schemaFileName));
---------------------------------------------------------------------
To unsubscribe, e-mail: xmlbeans-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-cvs-help@xml.apache.org