commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r1548949 - in /commons/proper/compress/trunk/src/main/java/org/apache/commons/compress: archivers/sevenz/LZMA2Decoder.java archivers/zip/ZipFile.java utils/CRC32VerifyingInputStream.java
Date Sat, 07 Dec 2013 18:14:53 GMT
Author: bodewig
Date: Sat Dec  7 18:14:53 2013
New Revision: 1548949

URL: http://svn.apache.org/r1548949
Log:
make clirr and checkstyle happier

Modified:
    commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/sevenz/LZMA2Decoder.java
    commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/ZipFile.java
    commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/utils/CRC32VerifyingInputStream.java

Modified: commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/sevenz/LZMA2Decoder.java
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/sevenz/LZMA2Decoder.java?rev=1548949&r1=1548948&r2=1548949&view=diff
==============================================================================
--- commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/sevenz/LZMA2Decoder.java
(original)
+++ commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/sevenz/LZMA2Decoder.java
Sat Dec  7 18:14:53 2013
@@ -17,7 +17,6 @@
  */
 package org.apache.commons.compress.archivers.sevenz;
 
-import java.io.FilterOutputStream;
 import java.io.IOException;
 import java.io.InputStream;
 import java.io.OutputStream;

Modified: commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/ZipFile.java
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/ZipFile.java?rev=1548949&r1=1548948&r2=1548949&view=diff
==============================================================================
--- commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/ZipFile.java
(original)
+++ commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/ZipFile.java
Sat Dec  7 18:14:53 2013
@@ -33,7 +33,6 @@ import java.util.List;
 import java.util.Map;
 import java.util.zip.Inflater;
 import java.util.zip.InflaterInputStream;
-import java.util.zip.ZipEntry;
 import java.util.zip.ZipException;
 
 import org.apache.commons.compress.utils.IOUtils;

Modified: commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/utils/CRC32VerifyingInputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/utils/CRC32VerifyingInputStream.java?rev=1548949&r1=1548948&r2=1548949&view=diff
==============================================================================
--- commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/utils/CRC32VerifyingInputStream.java
(original)
+++ commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/utils/CRC32VerifyingInputStream.java
Sat Dec  7 18:14:53 2013
@@ -28,6 +28,13 @@ import java.util.zip.CRC32;
  */
 public class CRC32VerifyingInputStream extends ChecksumVerifyingInputStream {
     
+    public CRC32VerifyingInputStream(final InputStream in, final int size, final long expectedCrc32)
{
+        super(new CRC32(), in, size, expectedCrc32);
+    }
+
+    /**
+     * @since 1.7
+     */
     public CRC32VerifyingInputStream(final InputStream in, final long size, final long expectedCrc32)
{
         super(new CRC32(), in, size, expectedCrc32);
     }



Mime
View raw message