commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tcu...@apache.org
Subject svn commit: r494374 - in /jakarta/commons/sandbox/compress/trunk/src: java/org/apache/commons/compress/ java/org/apache/commons/compress/bzip2/ java/org/apache/commons/compress/tar/ java/org/apache/commons/compress/zip/ test/org/apache/commons/compress...
Date Tue, 09 Jan 2007 11:19:55 GMT
Author: tcurdt
Date: Tue Jan  9 03:19:48 2007
New Revision: 494374

URL: http://svn.apache.org/viewvc?view=rev&rev=494374
Log:
nitpicking,
removed duplicate code


Removed:
    jakarta/commons/sandbox/compress/trunk/src/java/org/apache/commons/compress/bzip2/
    jakarta/commons/sandbox/compress/trunk/src/java/org/apache/commons/compress/tar/
    jakarta/commons/sandbox/compress/trunk/src/java/org/apache/commons/compress/zip/
    jakarta/commons/sandbox/compress/trunk/src/test/org/apache/commons/compress/bzip2/
    jakarta/commons/sandbox/compress/trunk/src/test/org/apache/commons/compress/tar/
    jakarta/commons/sandbox/compress/trunk/src/test/org/apache/commons/compress/zip/
Modified:
    jakarta/commons/sandbox/compress/trunk/src/java/org/apache/commons/compress/ArchiverFactory.java
    jakarta/commons/sandbox/compress/trunk/src/java/org/apache/commons/compress/CompressUtils.java

Modified: jakarta/commons/sandbox/compress/trunk/src/java/org/apache/commons/compress/ArchiverFactory.java
URL: http://svn.apache.org/viewvc/jakarta/commons/sandbox/compress/trunk/src/java/org/apache/commons/compress/ArchiverFactory.java?view=diff&rev=494374&r1=494373&r2=494374
==============================================================================
--- jakarta/commons/sandbox/compress/trunk/src/java/org/apache/commons/compress/ArchiverFactory.java
(original)
+++ jakarta/commons/sandbox/compress/trunk/src/java/org/apache/commons/compress/ArchiverFactory.java
Tue Jan  9 03:19:48 2007
@@ -25,6 +25,8 @@
 
 import org.apache.commons.compress.archivers.tar.TarArchive;
 import org.apache.commons.compress.archivers.zip.ZipArchive;
+
+
 /**
  * Provides implementations for all ArchiverFactory methods.
  */
@@ -43,10 +45,6 @@
 		}
 	}
 	
-	/**
-	 * Constructor.
-	 * @param name name of the implementation
-	 */
 	private ArchiverFactory() { 
 	}
 

Modified: jakarta/commons/sandbox/compress/trunk/src/java/org/apache/commons/compress/CompressUtils.java
URL: http://svn.apache.org/viewvc/jakarta/commons/sandbox/compress/trunk/src/java/org/apache/commons/compress/CompressUtils.java?view=diff&rev=494374&r1=494373&r2=494374
==============================================================================
--- jakarta/commons/sandbox/compress/trunk/src/java/org/apache/commons/compress/CompressUtils.java
(original)
+++ jakarta/commons/sandbox/compress/trunk/src/java/org/apache/commons/compress/CompressUtils.java
Tue Jan  9 03:19:48 2007
@@ -26,6 +26,7 @@
  * Utils for Compress.
  */
 public class CompressUtils {
+
 	/*
 	 * This class should not be constructed
 	 */
@@ -36,8 +37,7 @@
 	/**
      * Copy bytes from an <code>InputStream</code> to an <code>OutputStream</code>.
      */
-    public static void copy( final InputStream input,
-                              final OutputStream output )
+    public static void copy( final InputStream input, final OutputStream output )
         throws IOException {
         final byte[] buffer = new byte[ 8024 ];
         int n = 0;



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message