Author: sebb
Date: Fri Dec 20 17:31:58 2013
New Revision: 1552754
URL: http://svn.apache.org/r1552754
Log:
Rename local variable to avoid hiding class field
Modified:
commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveInputStream.java
Modified:
commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveInputStream.java
URL:
http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveInputStream.java?rev=1552754&r1=1552753&r2=1552754&view=diff
==============================================================================
---
commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveInputStream.java
(original)
+++
commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveInputStream.java
Fri Dec 20 17:31:58 2013
@@ -152,8 +152,8 @@ public class ArArchiveInputStream extend
if (temp.endsWith("/")) { // GNU terminator
temp = temp.substring(0, temp.length() - 1);
} else if (isGNULongName(temp)) {
- int offset = Integer.parseInt(temp.substring(1));// get the offset
- temp = getExtendedName(offset); // convert to the long name
+ int off = Integer.parseInt(temp.substring(1));// get the offset
+ temp = getExtendedName(off); // convert to the long name
} else if (isBSDLongName(temp)) {
temp = getBSDLongName(temp);
// entry length contained the length of the file name in