click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r942627 - /click/trunk/click/framework/src/org/apache/click/service/DeployUtils.java
Date Sun, 09 May 2010 23:08:18 GMT
Author: sabob
Date: Sun May  9 23:08:18 2010
New Revision: 942627

URL: http://svn.apache.org/viewvc?rev=942627&view=rev
Log:
use clickutils

Modified:
    click/trunk/click/framework/src/org/apache/click/service/DeployUtils.java

Modified: click/trunk/click/framework/src/org/apache/click/service/DeployUtils.java
URL: http://svn.apache.org/viewvc/click/trunk/click/framework/src/org/apache/click/service/DeployUtils.java?rev=942627&r1=942626&r2=942627&view=diff
==============================================================================
--- click/trunk/click/framework/src/org/apache/click/service/DeployUtils.java (original)
+++ click/trunk/click/framework/src/org/apache/click/service/DeployUtils.java Sun May  9 23:08:18
2010
@@ -484,12 +484,7 @@ class DeployUtils<T> {
             // Failure to read the stream means this is not a JAR
 
         } finally {
-            try {
-                if (is != null) {
-                    is.close();
-                }
-            } catch (Exception e) {
-            }
+            ClickUtils.close(is);
         }
 
         return false;



Mime
View raw message