Skip to content

Commit 9059a2a

Browse files
committed
Update Java version to 25
1 parent c7f626f commit 9059a2a

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

.github/workflows/gradle-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ jobs:
1111

1212
steps:
1313
- uses: actions/checkout@v3
14-
- name: Set up JDK 21
14+
- name: Set up JDK 25
1515
uses: actions/setup-java@v3
1616
with:
17-
java-version: '21'
18-
distribution: 'temurin'
17+
java-version: '25'
18+
distribution: 'corretto'
1919
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
2020
settings-path: ${{ github.workspace }} # location for the settings.xml file
2121

.github/workflows/gradle-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ jobs:
1717

1818
steps:
1919
- uses: actions/checkout@v3
20-
- name: Set up JDK 21
20+
- name: Set up JDK 25
2121
uses: actions/setup-java@v3
2222
with:
23-
java-version: '21'
24-
distribution: 'temurin'
23+
java-version: '25'
24+
distribution: 'corretto'
2525
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
2626
settings-path: ${{ github.workspace }} # location for the settings.xml file
2727

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ dependencies {
3535
}
3636

3737
java {
38-
sourceCompatibility = JavaVersion.VERSION_21
38+
sourceCompatibility = JavaVersion.VERSION_25
3939
withJavadocJar()
4040
withSourcesJar()
4141
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.1.0-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

src/main/java/com/github/hirsivaja/ip/icmpv6/rpl/Dodagid.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public byte[] rawDodagid() {
3838
public String toString() {
3939
try {
4040
return this.getClass().getSimpleName() + "[" + InetAddress.getByAddress(dodagid.array()).getHostAddress() + "]";
41-
} catch (UnknownHostException ignored) {
41+
} catch (UnknownHostException _) {
4242
// Suppressing the exception
4343
}
4444
return this.getClass().getSimpleName() + "[" + IpUtils.printHexBinary(dodagid.array()) + "]";

src/main/java/com/github/hirsivaja/ip/ipv4/Ipv4Address.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public static Ipv4Address decode(ByteBuffer in) {
6767
public String toString() {
6868
try {
6969
return this.getClass().getSimpleName() + "[" + toInetAddress().getHostAddress() + "]";
70-
} catch (IllegalArgumentException ignored) {
70+
} catch (IllegalArgumentException _) {
7171
// Suppressing the exception
7272
}
7373
return this.getClass().getSimpleName() + "[" + IpUtils.printHexBinary(address.array()) + "]";

src/main/java/com/github/hirsivaja/ip/ipv6/Ipv6Address.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public static Ipv6Address decode(ByteBuffer in) {
6363
public String toString() {
6464
try {
6565
return this.getClass().getSimpleName() + "[" + toInetAddress().getHostAddress() + "]";
66-
} catch (IllegalArgumentException ignored) {
66+
} catch (IllegalArgumentException _) {
6767
// Suppressing the exception
6868
}
6969
return this.getClass().getSimpleName() + "[" + IpUtils.printHexBinary(address.array()) + "]";

0 commit comments

Comments
 (0)