cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r555608 - /cocoon/trunk/core/cocoon-configuration/cocoon-spring-configurator/src/main/java/org/apache/cocoon/spring/configurator/impl/DeploymentUtil.java
Date Thu, 12 Jul 2007 12:12:55 GMT
Author: felixk
Date: Thu Jul 12 05:12:54 2007
New Revision: 555608

URL: http://svn.apache.org/viewvc?view=rev&rev=555608
Log:
It's enough closing them once.
Thanks to Joerg pointing me to my c&p mistake.

Modified:
    cocoon/trunk/core/cocoon-configuration/cocoon-spring-configurator/src/main/java/org/apache/cocoon/spring/configurator/impl/DeploymentUtil.java

Modified: cocoon/trunk/core/cocoon-configuration/cocoon-spring-configurator/src/main/java/org/apache/cocoon/spring/configurator/impl/DeploymentUtil.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-configuration/cocoon-spring-configurator/src/main/java/org/apache/cocoon/spring/configurator/impl/DeploymentUtil.java?view=diff&rev=555608&r1=555607&r2=555608
==============================================================================
--- cocoon/trunk/core/cocoon-configuration/cocoon-spring-configurator/src/main/java/org/apache/cocoon/spring/configurator/impl/DeploymentUtil.java
(original)
+++ cocoon/trunk/core/cocoon-configuration/cocoon-spring-configurator/src/main/java/org/apache/cocoon/spring/configurator/impl/DeploymentUtil.java
Thu Jul 12 05:12:54 2007
@@ -74,8 +74,6 @@
                     inStream = jarFile.getInputStream(entry);
                     outStream = new FileOutputStream(out);
                     IOUtils.copy(inStream, outStream);
-                    inStream.close();
-                    outStream.close();
                 } finally {
                     if (outStream != null) {
                         outStream.close();



Mime
View raw message