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 Mon, 19 Dec 2016 17:52:12 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/b03521d0
Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/b03521d0
Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/b03521d0

Branch: refs/heads/master
Commit: b03521d077f913e2618d315b458362232ecb96f1
Parents: bcc204d
Author: Stefan Bodewig <bodewig@apache.org>
Authored: Mon Dec 19 18:51:51 2016 +0100
Committer: Stefan Bodewig <bodewig@apache.org>
Committed: Mon Dec 19 18:51:51 2016 +0100

----------------------------------------------------------------------
 .../compress/archivers/sevenz/LZMADecoder.java  | 24 ++++++++++----------
 1 file changed, 12 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-compress/blob/b03521d0/src/main/java/org/apache/commons/compress/archivers/sevenz/LZMADecoder.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/sevenz/LZMADecoder.java b/src/main/java/org/apache/commons/compress/archivers/sevenz/LZMADecoder.java
index 07c80ef..e49f43a 100644
--- a/src/main/java/org/apache/commons/compress/archivers/sevenz/LZMADecoder.java
+++ b/src/main/java/org/apache/commons/compress/archivers/sevenz/LZMADecoder.java
@@ -67,17 +67,17 @@ class LZMADecoder extends CoderBase {
 
     @Override
     Object getOptionsFromCoder(final Coder coder, final InputStream in) throws IOException
{
-            final byte propsByte = coder.properties[0];
-            int props = propsByte & 0xFF;
-            int pb = props / (9 * 5);
-            props -= pb * 9 * 5;
-            int lp = props / 9;
-            int lc = props - lp * 9;
-            LZMA2Options opts = new LZMA2Options();
-            opts.setPb(pb);
-            opts.setLcLp(lc, lp);
-            opts.setDictSize(getDictionarySize(coder));
-            return opts;
+        final byte propsByte = coder.properties[0];
+        int props = propsByte & 0xFF;
+        int pb = props / (9 * 5);
+        props -= pb * 9 * 5;
+        int lp = props / 9;
+        int lc = props - lp * 9;
+        LZMA2Options opts = new LZMA2Options();
+        opts.setPb(pb);
+        opts.setLcLp(lc, lp);
+        opts.setDictSize(getDictionarySize(coder));
+        return opts;
     }
 
     private int getDictSize(final Object opts) {
@@ -100,7 +100,7 @@ class LZMADecoder extends CoderBase {
             return (LZMA2Options) opts;
         }
         final LZMA2Options options = new LZMA2Options();
-            options.setDictSize(numberOptionOrDefault(opts));
+        options.setDictSize(numberOptionOrDefault(opts));
         return options;
     }
 


Mime
View raw message