This is an automated email from the ASF dual-hosted git repository. ebourg pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-compress.git
The following commit(s) were added to refs/heads/master by this push: new e7f79a8 Removed a redundant test in ExplodingInputStream e7f79a8 is described below commit e7f79a8f7538fe49758bc2e18fd6bca26c8adb08 Author: Emmanuel Bourg <ebo...@apache.org> AuthorDate: Thu May 23 13:43:54 2019 +0200 Removed a redundant test in ExplodingInputStream --- .../org/apache/commons/compress/archivers/zip/ExplodingInputStream.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/ExplodingInputStream.java b/src/main/java/org/apache/commons/compress/archivers/zip/ExplodingInputStream.java index 70eb308..b3e1ca6 100644 --- a/src/main/java/org/apache/commons/compress/archivers/zip/ExplodingInputStream.java +++ b/src/main/java/org/apache/commons/compress/archivers/zip/ExplodingInputStream.java @@ -177,7 +177,7 @@ class ExplodingInputStream extends InputStream implements InputStreamStatistics buffer.put(literal); - } else if (bit == 0) { + } else { // back reference final int distanceLowSize = dictionarySize == 4096 ? 6 : 7; final int distanceLow = (int) bits.nextBits(distanceLowSize);