@Override; explicit unboxing
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1301861 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7d07c1915c
commit
530c93392c
|
@ -63,7 +63,7 @@ public class CSVRecord implements Serializable, Iterable<String> {
|
|||
|
||||
Integer index = mapping.get(name);
|
||||
|
||||
return index != null ? values[index] : null;
|
||||
return index != null ? values[index.intValue()] : null;
|
||||
}
|
||||
|
||||
public Iterator<String> iterator() {
|
||||
|
@ -81,6 +81,7 @@ public class CSVRecord implements Serializable, Iterable<String> {
|
|||
return values.length;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return Arrays.toString(values);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue