This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-csv.git


The following commit(s) were added to refs/heads/master by this push:
     new b581686  [CSV-255] Add CSVRecord.isSet(int) method #52.
b581686 is described below

commit b58168683d01149a568734df21568ffcc41105fe
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Wed Dec 25 17:15:39 2019 -0500

    [CSV-255] Add CSVRecord.isSet(int) method #52.
    
    Less cryptic parameter name.
---
 src/main/java/org/apache/commons/csv/CSVRecord.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/java/org/apache/commons/csv/CSVRecord.java 
b/src/main/java/org/apache/commons/csv/CSVRecord.java
index e063edc..e75403e 100644
--- a/src/main/java/org/apache/commons/csv/CSVRecord.java
+++ b/src/main/java/org/apache/commons/csv/CSVRecord.java
@@ -217,12 +217,12 @@ public final class CSVRecord implements Serializable, 
Iterable<String> {
     /**
      * Checks whether a column with given index has a value.
      *
-     * @param i
+     * @param index
      *         a column index (0-based)
      * @return whether a column with given index has a value
      */
-    public boolean isSet(final int i) {
-        return 0 <= i && i < values.length;
+    public boolean isSet(final int index) {
+        return 0 <= index && index < values.length;
     }
 
     /**

Reply via email to