neilg 2003/01/06 08:37:59
Modified: java/src/org/apache/xerces/util ObjectFactory.java
Log:
Close the file input stream we opened when reading the xerces.properties file.
Revision Changes Path
1.9 +2 -1 xml-xerces/java/src/org/apache/xerces/util/ObjectFactory.java
Index: ObjectFactory.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/util/ObjectFactory.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ObjectFactory.java 9 Oct 2002 17:39:36 -0000 1.8
+++ ObjectFactory.java 6 Jan 2003 16:37:59 -0000 1.9
@@ -181,6 +181,7 @@
debugPrintln("found in " + propertiesFilename + ", value=" +
factoryClassName);
return newInstance(factoryClassName, cl, true);
}
+ fis.close();
} catch (Exception x) {
// assert(x instanceof FileNotFoundException
// || x instanceof SecurityException)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]