commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject commons-compress git commit: In-line local variable.
Date Fri, 09 Dec 2016 07:16:15 GMT
Repository: commons-compress
Updated Branches:
  refs/heads/master 9f468f199 -> 4d5518316


In-line local variable.

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

Branch: refs/heads/master
Commit: 4d5518316608aa87c6805b5b67fb3db5ea5eedef
Parents: 9f468f1
Author: Gary Gregory <ggregory@apache.org>
Authored: Thu Dec 8 23:16:13 2016 -0800
Committer: Gary Gregory <ggregory@apache.org>
Committed: Thu Dec 8 23:16:13 2016 -0800

----------------------------------------------------------------------
 .../java/org/apache/commons/compress/archivers/sevenz/Coders.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-compress/blob/4d551831/src/main/java/org/apache/commons/compress/archivers/sevenz/Coders.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/sevenz/Coders.java b/src/main/java/org/apache/commons/compress/archivers/sevenz/Coders.java
index 6ab410b..ac0c319 100644
--- a/src/main/java/org/apache/commons/compress/archivers/sevenz/Coders.java
+++ b/src/main/java/org/apache/commons/compress/archivers/sevenz/Coders.java
@@ -118,8 +118,7 @@ class Coders {
         }
         @Override
         OutputStream encode(final OutputStream out, final Object options) {
-            final FinishableOutputStream fo = opts.getOutputStream(new FinishableWrapperOutputStream(out));
-            return new FlushShieldFilterOutputStream(fo);
+            return new FlushShieldFilterOutputStream(opts.getOutputStream(new FinishableWrapperOutputStream(out)));
         }
     }
     


Mime
View raw message