@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:
Sebastian Bazley 2012-03-17 04:12:16 +00:00
parent 7d07c1915c
commit 530c93392c
1 changed files with 2 additions and 1 deletions

View File

@ -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);
}