Skip to content

Commit a23c25e

Browse files
committed
Release 1.1.4
Merge commits from master to java21 branch, but revert change to Java 25.
1 parent e8b247a commit a23c25e

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ plugins {
55
}
66

77
group = 'io.github.hirsivaja'
8-
version = '1.2.1'
8+
version = '1.1.4'
99

1010
repositories {
1111
mavenCentral()
@@ -35,7 +35,7 @@ dependencies {
3535
}
3636

3737
java {
38-
sourceCompatibility = JavaVersion.VERSION_25
38+
sourceCompatibility = JavaVersion.VERSION_21
3939
withJavadocJar()
4040
withSourcesJar()
4141
}

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 _) {
41+
} catch (UnknownHostException ignored) {
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 _) {
70+
} catch (IllegalArgumentException ignored) {
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 _) {
66+
} catch (IllegalArgumentException ignored) {
6767
// Suppressing the exception
6868
}
6969
return this.getClass().getSimpleName() + "[" + IpUtils.printHexBinary(address.array()) + "]";

0 commit comments

Comments
 (0)