You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2013/12/20 18:42:00 UTC
svn commit: r1552761 -
/commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/dump/DumpArchiveInputStream.java
Author: sebb
Date: Fri Dec 20 17:41:59 2013
New Revision: 1552761
URL: http://svn.apache.org/r1552761
Log:
Rename local variable to avoid hiding field
Modified:
commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/dump/DumpArchiveInputStream.java
Modified: commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/dump/DumpArchiveInputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/dump/DumpArchiveInputStream.java?rev=1552761&r1=1552760&r2=1552761&view=diff
==============================================================================
--- commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/dump/DumpArchiveInputStream.java (original)
+++ commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/dump/DumpArchiveInputStream.java Fri Dec 20 17:41:59 2013
@@ -165,13 +165,13 @@ public class DumpArchiveInputStream exte
* Read CLRI (deleted inode) segment.
*/
private void readCLRI() throws IOException {
- byte[] readBuf = raw.readRecord();
+ byte[] buffer = raw.readRecord();
- if (!DumpArchiveUtil.verify(readBuf)) {
+ if (!DumpArchiveUtil.verify(buffer)) {
throw new InvalidFormatException();
}
- active = DumpArchiveEntry.parse(readBuf);
+ active = DumpArchiveEntry.parse(buffer);
if (DumpArchiveConstants.SEGMENT_TYPE.CLRI != active.getHeaderType()) {
throw new InvalidFormatException();
@@ -189,13 +189,13 @@ public class DumpArchiveInputStream exte
* Read BITS segment.
*/
private void readBITS() throws IOException {
- byte[] readBuf = raw.readRecord();
+ byte[] buffer = raw.readRecord();
- if (!DumpArchiveUtil.verify(readBuf)) {
+ if (!DumpArchiveUtil.verify(buffer)) {
throw new InvalidFormatException();
}
- active = DumpArchiveEntry.parse(readBuf);
+ active = DumpArchiveEntry.parse(buffer);
if (DumpArchiveConstants.SEGMENT_TYPE.BITS != active.getHeaderType()) {
throw new InvalidFormatException();