Skip to content

Commit

Permalink
Clean
Browse files Browse the repository at this point in the history
  • Loading branch information
tjpalmer committed Apr 10, 2021
1 parent 89b8134 commit b31014d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 2020/java/Day1b.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public static void main(String[] args) throws Exception {
.findAny()
.orElse(null);
})
.filter(ab2 -> ab2 != null)
.filter(maybeFound -> maybeFound != null)
.findAny()
.orElseThrow();
var product = Arrays.stream(founds).reduce(1, (a, b) -> a * b);
Expand Down

0 comments on commit b31014d

Please sign in to comment.