Skip to content

Commit 530c933

Browse files
committed
@OverRide; explicit unboxing
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1301861 13f79535-47bb-0310-9956-ffa450edef68
1 parent 7d07c19 commit 530c933

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public String get(String name) {
6363

6464
Integer index = mapping.get(name);
6565

66-
return index != null ? values[index] : null;
66+
return index != null ? values[index.intValue()] : null;
6767
}
6868

6969
public Iterator<String> iterator() {
@@ -81,6 +81,7 @@ public int size() {
8181
return values.length;
8282
}
8383

84+
@Override
8485
public String toString() {
8586
return Arrays.toString(values);
8687
}

0 commit comments

Comments
 (0)