Closed Brendandurkin closed 10 years ago
Class Column enforces Column indexes to be 1-based. but .... Lines contents are 0-based
Thus in class RowImpl String firstColumnName=rowImpl.getColumnName(1); String firstColumnValue=rowImpl.get(0);
which leads us to....
String secondColumnValue=rowImpl.get(firstColumnName);
the fix is probably to change the get call in RowImpl to..
@Override public String get(int columnIndex) { return line.get(columnIndex-1); }
Thanks, and I agree. Suggested change adopted.
Class Column enforces Column indexes to be 1-based. but .... Lines contents are 0-based
Thus in class RowImpl String firstColumnName=rowImpl.getColumnName(1); String firstColumnValue=rowImpl.get(0);
which leads us to....
String secondColumnValue=rowImpl.get(firstColumnName);
the fix is probably to change the get call in RowImpl to..