commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject commons-compress git commit: fix variable name
Date Wed, 03 May 2017 04:25:15 GMT
Repository: commons-compress
Updated Branches:
  refs/heads/master d40b05aee -> 886e92401


fix variable name


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

Branch: refs/heads/master
Commit: 886e924019e35dc28eabe7515f614ba4f6c63a2f
Parents: d40b05a
Author: Stefan Bodewig <bodewig@apache.org>
Authored: Wed May 3 06:24:16 2017 +0200
Committer: Stefan Bodewig <bodewig@apache.org>
Committed: Wed May 3 06:24:16 2017 +0200

----------------------------------------------------------------------
 .../apache/commons/compress/compressors/brotli/BrotliUtils.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-compress/blob/886e9240/src/main/java/org/apache/commons/compress/compressors/brotli/BrotliUtils.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/compressors/brotli/BrotliUtils.java
b/src/main/java/org/apache/commons/compress/compressors/brotli/BrotliUtils.java
index 1f7ebca..e73a895 100644
--- a/src/main/java/org/apache/commons/compress/compressors/brotli/BrotliUtils.java
+++ b/src/main/java/org/apache/commons/compress/compressors/brotli/BrotliUtils.java
@@ -75,8 +75,8 @@ public class BrotliUtils {
         if (!doCache) {
             cachedBrotliAvailability = CachedAvailability.DONT_CACHE;
         } else if (cachedBrotliAvailability == CachedAvailability.DONT_CACHE) {
-            final boolean hasXz = internalIsBrotliCompressionAvailable();
-            cachedBrotliAvailability = hasXz ? CachedAvailability.CACHED_AVAILABLE
+            final boolean hasBrotli = internalIsBrotliCompressionAvailable();
+            cachedBrotliAvailability = hasBrotli ? CachedAvailability.CACHED_AVAILABLE
                 : CachedAvailability.CACHED_UNAVAILABLE;
         }
     }


Mime
View raw message