incubator-aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mnutt...@apache.org
Subject svn commit: r1029759 - /incubator/aries/trunk/application/application-utils/src/main/java/org/apache/aries/application/utils/manifest/ManifestProcessor.java
Date Mon, 01 Nov 2010 17:41:24 GMT
Author: mnuttall
Date: Mon Nov  1 17:41:23 2010
New Revision: 1029759

URL: http://svn.apache.org/viewvc?rev=1029759&view=rev
Log:
ARIES-477: use IOUtils.close()

Modified:
    incubator/aries/trunk/application/application-utils/src/main/java/org/apache/aries/application/utils/manifest/ManifestProcessor.java

Modified: incubator/aries/trunk/application/application-utils/src/main/java/org/apache/aries/application/utils/manifest/ManifestProcessor.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/application-utils/src/main/java/org/apache/aries/application/utils/manifest/ManifestProcessor.java?rev=1029759&r1=1029758&r2=1029759&view=diff
==============================================================================
--- incubator/aries/trunk/application/application-utils/src/main/java/org/apache/aries/application/utils/manifest/ManifestProcessor.java
(original)
+++ incubator/aries/trunk/application/application-utils/src/main/java/org/apache/aries/application/utils/manifest/ManifestProcessor.java
Mon Nov  1 17:41:23 2010
@@ -306,13 +306,7 @@ public class ManifestProcessor
       // NO-OP we will just return null
     }
     finally {
-      if (bais != null) { 
-        try { 
-          bais.close(); 
-        } catch (IOException e) {
-          // NO-OP
-        } 
-      }
+      IOUtils.close(bais);
     }
     return result;
   }  



Mime
View raw message