File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
src/main/java/com/github/hirsivaja/ip Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ plugins {
55}
66
77group = ' io.github.hirsivaja'
8- version = ' 1.2.1 '
8+ version = ' 1.1.4 '
99
1010repositories {
1111 mavenCentral()
@@ -35,7 +35,7 @@ dependencies {
3535}
3636
3737java {
38- sourceCompatibility = JavaVersion . VERSION_25
38+ sourceCompatibility = JavaVersion . VERSION_21
3939 withJavadocJar()
4040 withSourcesJar()
4141}
Original file line number Diff line number Diff 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 ()) + "]" ;
Original file line number Diff line number Diff 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 ()) + "]" ;
Original file line number Diff line number Diff 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 ()) + "]" ;
You can’t perform that action at this time.
0 commit comments