commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject [2/3] commons-compress git commit: param name 'input' should not hide field.
Date Fri, 09 Dec 2016 07:47:36 GMT
param name 'input' should not hide field.

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

Branch: refs/heads/master
Commit: 5c9661c300bad40cbacdb391637dacc991f16da6
Parents: f1a5821
Author: Gary Gregory <ggregory@apache.org>
Authored: Thu Dec 8 23:47:33 2016 -0800
Committer: Gary Gregory <ggregory@apache.org>
Committed: Thu Dec 8 23:47:33 2016 -0800

----------------------------------------------------------------------
 .../archivers/ar/ArArchiveInputStream.java      | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-compress/blob/5c9661c3/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveInputStream.java
b/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveInputStream.java
index bcd159d..25b6a9d 100644
--- a/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveInputStream.java
+++ b/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveInputStream.java
@@ -186,24 +186,24 @@ public class ArArchiveInputStream extends ArchiveInputStream {
         }
         throw new IOException("Failed to read entry: "+offset);
     }
-    private long asLong(final byte[] input) {
-        return Long.parseLong(ArchiveUtils.toAsciiString(input).trim());
+    private long asLong(final byte[] byteArray) {
+        return Long.parseLong(ArchiveUtils.toAsciiString(byteArray).trim());
     }
 
-    private int asInt(final byte[] input) {
-        return asInt(input, 10, false);
+    private int asInt(final byte[] byteArray) {
+        return asInt(byteArray, 10, false);
     }
 
-    private int asInt(final byte[] input, final boolean treatBlankAsZero) {
-        return asInt(input, 10, treatBlankAsZero);
+    private int asInt(final byte[] byteArray, final boolean treatBlankAsZero) {
+        return asInt(byteArray, 10, treatBlankAsZero);
     }
 
-    private int asInt(final byte[] input, final int base) {
-        return asInt(input, base, false);
+    private int asInt(final byte[] byteArray, final int base) {
+        return asInt(byteArray, base, false);
     }
 
-    private int asInt(final byte[] input, final int base, final boolean treatBlankAsZero)
{
-        final String string = ArchiveUtils.toAsciiString(input).trim();
+    private int asInt(final byte[] byteArray, final int base, final boolean treatBlankAsZero)
{
+        final String string = ArchiveUtils.toAsciiString(byteArray).trim();
         if (string.length() == 0 && treatBlankAsZero) {
             return 0;
         }


Mime
View raw message