commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject [3/3] commons-compress git commit: COMPRESS-392 remove matches method if it doesn't work
Date Thu, 04 May 2017 06:48:01 GMT
COMPRESS-392 remove matches method if it doesn't work

closes #23


Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/ccf55ddf
Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/ccf55ddf
Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/ccf55ddf

Branch: refs/heads/master
Commit: ccf55ddf2238983ba9f6da9ba2bb61e0c0ac573b
Parents: c4ad0b7
Author: Stefan Bodewig <bodewig@apache.org>
Authored: Thu May 4 08:47:27 2017 +0200
Committer: Stefan Bodewig <bodewig@apache.org>
Committed: Thu May 4 08:47:27 2017 +0200

----------------------------------------------------------------------
 .../brotli/BrotliCompressorInputStream.java            | 13 -------------
 1 file changed, 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-compress/blob/ccf55ddf/src/main/java/org/apache/commons/compress/compressors/brotli/BrotliCompressorInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/compressors/brotli/BrotliCompressorInputStream.java
b/src/main/java/org/apache/commons/compress/compressors/brotli/BrotliCompressorInputStream.java
index 3f63cc8..37b050a 100644
--- a/src/main/java/org/apache/commons/compress/compressors/brotli/BrotliCompressorInputStream.java
+++ b/src/main/java/org/apache/commons/compress/compressors/brotli/BrotliCompressorInputStream.java
@@ -143,18 +143,5 @@ public class BrotliCompressorInputStream extends CompressorInputStream
{
     public void reset() throws IOException {
         decIS.reset();
     }
-    
 
-    /**
-     * There is no magic for Brotli
-     * 
-     * @param signature
-     *            the bytes to check
-     * @param length
-     *            the number of bytes to check
-     * @return true
-     */
-    static boolean matches(final byte[] signature, final int length) {
-        return true;
-    }
 }


Mime
View raw message