Skip to content

Commit

Permalink
Histories: use Java 17 features
Browse files Browse the repository at this point in the history
  • Loading branch information
rybak committed Apr 13, 2022
1 parent 2d5e45b commit 5390718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/dev/andrybak/resoday/gui/Histories.java
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public void reorder(Window parent, Path dir, CalendarLayoutSettingProvider calen
}
List<String> inputOrder = inputRows.stream()
.map(ReorderHabitsDialog.Row::getId)
.collect(Collectors.toList());
.toList();
List<String> outputOrder = outputRows.stream()
.map(ReorderHabitsDialog.Row::getId)
.collect(Collectors.toList());
Expand Down

0 comments on commit 5390718

Please sign in to comment.