You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2013/10/21 18:27:48 UTC
svn commit: r1534269 -
/commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveInputStream.java
Author: ggregory
Date: Mon Oct 21 16:27:48 2013
New Revision: 1534269
URL: http://svn.apache.org/r1534269
Log:
Unnecessary cast from int to long.
Modified:
commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveInputStream.java
Modified: commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveInputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveInputStream.java?rev=1534269&r1=1534268&r2=1534269&view=diff
==============================================================================
--- commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveInputStream.java (original)
+++ commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveInputStream.java Mon Oct 21 16:27:48 2013
@@ -581,7 +581,7 @@ public class TarArchiveInputStream exten
if (totalRead == -1) {
hasHitEOF = true;
} else {
- entryOffset += (long) totalRead;
+ entryOffset += totalRead;
}
return totalRead;