File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
core-ng/src/main/java/core/framework/internal/web/http Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -9,12 +9,13 @@ repositories {
99
1010java {
1111 toolchain {
12- languageVersion.set(JavaLanguageVersion .of(21 ))
12+ // kotlin doesn't support Java 24 yet
13+ languageVersion = JavaLanguageVersion .of(21 )
1314 }
1415}
1516
1617dependencies {
17- implementation(" com.github.spotbugs.snom:spotbugs-gradle-plugin:6.1.2 " )
18+ implementation(" com.github.spotbugs.snom:spotbugs-gradle-plugin:6.1.13 " )
1819 implementation(" org.flywaydb:flyway-gradle-plugin:11.2.0" )
1920 implementation(" org.flywaydb:flyway-mysql:11.2.0" )
2021}
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ private LongLong[] sortableRange(String cidr) {
102102 rangeStart = new LongLong (address .high & highMask , 0x0000_0000_0000_0000L );
103103 rangeEnd = new LongLong (rangeStart .high | ~highMask , 0xFFFF_FFFF_FFFF_FFFFL );
104104 } else {
105- long lowMask = - 1L << (128 - maskBits );
105+ long lowMask = 0xFFFF_FFFF_FFFF_FFFFL << (128 - maskBits );
106106 rangeStart = new LongLong (address .high , address .low & lowMask );
107107 rangeEnd = new LongLong (address .high , rangeStart .low | ~lowMask );
108108 }
You can’t perform that action at this time.
0 commit comments