Skip to content

Commit

Permalink
Use diamonds
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Nov 28, 2024
1 parent 466c7e5 commit af6647c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -453,8 +453,8 @@ public Duration getLookBack() {
* @return a copy of the makeObject log
*/
public List<MakeEvent> getMakeObjectLog() {
ArrayList<MakeEvent> makeObjectLog = new ArrayList<MakeEvent>();
return new ArrayList<MakeEvent>(makeObjectLog.stream().toList());
ArrayList<MakeEvent> makeObjectLog = new ArrayList<>();
return new ArrayList<>(makeObjectLog.stream().toList());
}

/**
Expand Down

0 comments on commit af6647c

Please sign in to comment.