xerces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ne...@apache.org
Subject cvs commit: xml-xerces/java/src/org/apache/xerces/util ObjectFactory.java
Date Mon, 06 Jan 2003 16:37:59 GMT
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: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org


Mime
View raw message