commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject [2/2] commons-compress git commit: whitespace
Date Sun, 01 Jul 2018 11:46:58 GMT
whitespace


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

Branch: refs/heads/master
Commit: 22b0d0629267b88749f78412caea672d6539a5b6
Parents: af6fe14
Author: Stefan Bodewig <bodewig@apache.org>
Authored: Sun Jul 1 13:46:45 2018 +0200
Committer: Stefan Bodewig <bodewig@apache.org>
Committed: Sun Jul 1 13:46:45 2018 +0200

----------------------------------------------------------------------
 .../compress/archivers/zip/ZipArchiveInputStream.java        | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-compress/blob/22b0d062/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStream.java
b/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStream.java
index 77d6d70..0a2c1aa 100644
--- a/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStream.java
+++ b/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStream.java
@@ -253,10 +253,10 @@ public class ZipArchiveInputStream extends ArchiveInputStream implements
InputSt
         final ZipLong sig = new ZipLong(lfhBuf);
         if (!sig.equals(ZipLong.LFH_SIG)) {
             if (sig.equals(ZipLong.CFH_SIG) || sig.equals(ZipLong.AED_SIG) || isApkSigningBlock(lfhBuf))
{
-            hitCentralDirectory = true;
-            skipRemainderOfArchive();
-            return null;
-        }
+                hitCentralDirectory = true;
+                skipRemainderOfArchive();
+                return null;
+            }
             throw new ZipException(String.format("Unexpected record signature: 0X%X", sig.getValue()));
         }
 


Mime
View raw message