Skip to content

Commit 091cb67

Browse files
committed
Updates
1 parent c4e0ef5 commit 091cb67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ List<File> files = ...;
9494
JTable table = files.stream()
9595
.collect(toTable(toColumnDef(FileTableColumn.values())));
9696

97-
// use enum ordinal() to get column index:
98-
String name = (String) table.getValueAt(0, FileColumn.NAME.ordinal());
97+
// use enum ordinal() to obtain column index:
98+
String name = (String) table.getValueAt(0, FileTableColumn.NAME.ordinal());
9999

100100
// translate column index to ColumnDef:
101101
int columnIndex = ...;

0 commit comments

Comments
 (0)