commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1573055 - in /commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/sevenz: DeltaDecoder.java LZMA2Decoder.java
Date Fri, 28 Feb 2014 19:49:39 GMT
Author: sebb
Date: Fri Feb 28 19:49:39 2014
New Revision: 1573055

URL: http://svn.apache.org/r1573055
Log:
Explicit boxing

Modified:
    commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/sevenz/DeltaDecoder.java
    commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/sevenz/LZMA2Decoder.java

Modified: commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/sevenz/DeltaDecoder.java
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/sevenz/DeltaDecoder.java?rev=1573055&r1=1573054&r2=1573055&view=diff
==============================================================================
--- commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/sevenz/DeltaDecoder.java
(original)
+++ commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/sevenz/DeltaDecoder.java
Fri Feb 28 19:49:39 2014
@@ -53,7 +53,7 @@ class DeltaDecoder extends CoderBase {
 
     @Override
     Object getOptionsFromCoder(Coder coder, InputStream in) {
-        return getOptionsFromCoder(coder);
+        return Integer.valueOf(getOptionsFromCoder(coder));
     }
 
     private int getOptionsFromCoder(Coder coder) {

Modified: commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/sevenz/LZMA2Decoder.java
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/sevenz/LZMA2Decoder.java?rev=1573055&r1=1573054&r2=1573055&view=diff
==============================================================================
--- commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/sevenz/LZMA2Decoder.java
(original)
+++ commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/sevenz/LZMA2Decoder.java
Fri Feb 28 19:49:39 2014
@@ -20,6 +20,7 @@ package org.apache.commons.compress.arch
 import java.io.IOException;
 import java.io.InputStream;
 import java.io.OutputStream;
+
 import org.tukaani.xz.FinishableWrapperOutputStream;
 import org.tukaani.xz.FinishableOutputStream;
 import org.tukaani.xz.LZMA2InputStream;
@@ -60,7 +61,7 @@ class LZMA2Decoder extends CoderBase {
 
     @Override
     Object getOptionsFromCoder(Coder coder, InputStream in) {
-        return getDictionarySize(coder);
+        return Integer.valueOf(getDictionarySize(coder));
     }
 
     private int getDictSize(Object opts) {



Mime
View raw message