cleanup after code-review
This commit is contained in:
parent
b8b7a84897
commit
c9c8e9b5b2
@ -343,14 +343,6 @@ class Columns {
|
|||||||
int indexOf(final String columnName) {
|
int indexOf(final String columnName) {
|
||||||
return columnNames.indexOf(columnName);
|
return columnNames.indexOf(columnName);
|
||||||
}
|
}
|
||||||
|
|
||||||
int indexOfOrFail(final String columnName) {
|
|
||||||
int index = columnNames.indexOf(columnName);
|
|
||||||
if (index < 0) {
|
|
||||||
throw new RuntimeException("column name '" + columnName + "' not found in: " + columnNames);
|
|
||||||
}
|
|
||||||
return index;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class Record {
|
class Record {
|
||||||
|
Loading…
Reference in New Issue
Block a user