stevel 2005/05/21 14:38:47 Modified: src/main/org/apache/tools/ant/helper ProjectHelperImpl.java Log: use of fileUtils.close Revision Changes Path 1.31 +1 -7 ant/src/main/org/apache/tools/ant/helper/ProjectHelperImpl.java Index: ProjectHelperImpl.java =================================================================== RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/helper/ProjectHelperImpl.java,v retrieving revision 1.30 retrieving revision 1.31 diff -u -r1.30 -r1.31 --- ProjectHelperImpl.java 29 Mar 2005 21:47:59 -0000 1.30 +++ ProjectHelperImpl.java 21 May 2005 21:38:47 -0000 1.31 @@ -162,13 +162,7 @@ throw new BuildException("Error reading project file: " + exc.getMessage(), exc); } finally { - if (inputStream != null) { - try { - inputStream.close(); - } catch (IOException ioe) { - // ignore this - } - } + FileUtils.close(inputStream); } }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]