You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by bo...@apache.org on 2017/05/04 06:48:01 UTC

[3/3] commons-compress git commit: COMPRESS-392 remove matches method if it doesn't work

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 <bo...@apache.org>
Authored: Thu May 4 08:47:27 2017 +0200
Committer: Stefan Bodewig <bo...@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;
-    }
 }