Skip to content

Commit

Permalink
Upgrading to Java 23
Browse files Browse the repository at this point in the history
  • Loading branch information
zodac committed Nov 2, 2024
1 parent 3f26b08 commit 81ac834
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/version_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
uses: actions/setup-java@v4.2.1
with:
distribution: 'temurin'
java-version: '22'
java-version: '23'

- name: Cache local .m2
uses: actions/cache@v4.0.2
Expand All @@ -50,7 +50,7 @@ jobs:
uses: s4u/setup-maven-action@v1.14.0
with:
java-distribution: 'temurin'
java-version: '22'
java-version: '23'
maven-version: '3.9.9'

- name: Update Maven project versions
Expand Down
2 changes: 1 addition & 1 deletion 2023/src/main/java/me/zodac/advent/Day16.java
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ private static long findNumberOfEnergisedPoints(final Grid<Character> grid, fina
continue;
}

// Because a beam can also split into a new beam, the following methods may update 'nextBeamStepsToCheck' as a side-effect
// Because a beam can also split into a new beam, the following methods may update 'nextBeamStepsToCheck' as a side effect
final Direction nextDirection = getDirectionForNextBeamStep(grid, beamStep, nextBeamStepsToCheck);
addNewBeamStepToCheck(grid, beamStep, nextDirection, nextBeamStepsToCheck);
visitedBeamSteps.add(beamStep);
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<properties>
<!-- Project Properties -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java-release>22</java-release>
<java-release>23</java-release>
<maven-release>3.9.9</maven-release>

<!-- Lint Properties -->
Expand Down

0 comments on commit 81ac834

Please sign in to comment.