cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lgaw...@apache.org
Subject svn commit: r448113 - /cocoon/trunk/tools/cocoon-block-deployer/cocoon-deployer-plugin/src/main/java/org/apache/cocoon/maven/deployer/utils/CopyUtils.java
Date Wed, 20 Sep 2006 07:54:55 GMT
Author: lgawron
Date: Wed Sep 20 00:54:54 2006
New Revision: 448113

URL: http://svn.apache.org/viewvc?view=rev&rev=448113
Log:
unnecessary buffering

Modified:
    cocoon/trunk/tools/cocoon-block-deployer/cocoon-deployer-plugin/src/main/java/org/apache/cocoon/maven/deployer/utils/CopyUtils.java

Modified: cocoon/trunk/tools/cocoon-block-deployer/cocoon-deployer-plugin/src/main/java/org/apache/cocoon/maven/deployer/utils/CopyUtils.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/tools/cocoon-block-deployer/cocoon-deployer-plugin/src/main/java/org/apache/cocoon/maven/deployer/utils/CopyUtils.java?view=diff&rev=448113&r1=448112&r2=448113
==============================================================================
--- cocoon/trunk/tools/cocoon-block-deployer/cocoon-deployer-plugin/src/main/java/org/apache/cocoon/maven/deployer/utils/CopyUtils.java
(original)
+++ cocoon/trunk/tools/cocoon-block-deployer/cocoon-deployer-plugin/src/main/java/org/apache/cocoon/maven/deployer/utils/CopyUtils.java
Wed Sep 20 00:54:54 2006
@@ -30,13 +30,6 @@
 
 public class CopyUtils {
     public static void copy( InputStream is, OutputStream os ) throws IOException {
-        if ( !(is instanceof BufferedInputStream) ) {
-            is = new BufferedInputStream( is );
-        }
-        if ( !(os instanceof BufferedOutputStream) ) {
-            os = new BufferedOutputStream( os );
-        }
-        
         try {
             IOUtils.copy(is, os);
         } finally {



Mime
View raw message