Skip to content

Commit c4e0ef5

Browse files
committed
Updates
1 parent ed4756e commit c4e0ef5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ enum FileTableColumn implements Supplier<ColumnDef<File>> {
9191
}
9292

9393
List<File> files = ...;
94-
JTable table = files.stream().collect(toTable(toColumnDef(FileTableColumn.values())));
94+
JTable table = files.stream()
95+
.collect(toTable(toColumnDef(FileTableColumn.values())));
9596

9697
// use enum ordinal() to get column index:
9798
String name = (String) table.getValueAt(0, FileColumn.NAME.ordinal());

0 commit comments

Comments
 (0)