Skip to content

Commit b581686

Browse files
committed
[CSV-255] Add CSVRecord.isSet(int) method apache#52.
Less cryptic parameter name.
1 parent 3a082f0 commit b581686

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/main/java/org/apache/commons/csv/CSVRecord.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -217,12 +217,12 @@ public boolean isSet(final String name) {
217217
/**
218218
* Checks whether a column with given index has a value.
219219
*
220-
* @param i
220+
* @param index
221221
* a column index (0-based)
222222
* @return whether a column with given index has a value
223223
*/
224-
public boolean isSet(final int i) {
225-
return 0 <= i && i < values.length;
224+
public boolean isSet(final int index) {
225+
return 0 <= index && index < values.length;
226226
}
227227

228228
/**

0 commit comments

Comments
 (0)