Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 14917 invoked from network); 21 May 2005 21:38:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 May 2005 21:38:51 -0000 Received: (qmail 75010 invoked by uid 500); 21 May 2005 21:38:49 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 74853 invoked by uid 500); 21 May 2005 21:38:48 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 74838 invoked by uid 500); 21 May 2005 21:38:48 -0000 Received: (qmail 74835 invoked by uid 99); 21 May 2005 21:38:48 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Sat, 21 May 2005 14:38:48 -0700 Received: (qmail 14901 invoked by uid 1365); 21 May 2005 21:38:47 -0000 Date: 21 May 2005 21:38:47 -0000 Message-ID: <20050521213847.14900.qmail@minotaur.apache.org> From: stevel@apache.org To: ant-cvs@apache.org Subject: cvs commit: ant/src/main/org/apache/tools/ant/helper ProjectHelperImpl.java X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org