Skip to content

Commit

Permalink
aoc 2024 day 1 refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCK committed Dec 1, 2024
1 parent 206f8ca commit 156b685
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ private void run(
while (in.hasNextLine()) {
final String[] split = in.nextLine().split(" +");

one.add(Integer.parseInt(split[0]));
two.add(Integer.parseInt(split[1]));
one.add(Integer.valueOf(split[0]));
two.add(Integer.valueOf(split[1]));
}

final IntToLongFunction valueGenerator = getValueGenerator.apply(one, two);
Expand Down

0 comments on commit 156b685

Please sign in to comment.