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: Unnecessary cast from int to int.
Date Fri, 09 Dec 2016 07:40:19 GMT
Repository: commons-compress
Updated Branches:
  refs/heads/master 8954230a1 -> 3fc93250a


Unnecessary cast from int to int.

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

Branch: refs/heads/master
Commit: 3fc93250aafd2946509839b86ac9b87ba68e09a2
Parents: 8954230
Author: Gary Gregory <ggregory@apache.org>
Authored: Thu Dec 8 23:40:17 2016 -0800
Committer: Gary Gregory <ggregory@apache.org>
Committed: Thu Dec 8 23:40:17 2016 -0800

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


http://git-wip-us.apache.org/repos/asf/commons-compress/blob/3fc93250/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 5357a07..fe07bd7 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
@@ -40,7 +40,7 @@ class LZMADecoder extends CoderBase {
         if (dictSize > LZMAInputStream.DICT_SIZE_MAX) {
             throw new IOException("Dictionary larger than 4GiB maximum size used in " + archiveName);
         }
-        return new LZMAInputStream(in, uncompressedLength, propsByte, (int) dictSize);
+        return new LZMAInputStream(in, uncompressedLength, propsByte, dictSize);
     }
 
     @Override


Mime
View raw message