mirror of
https://github.com/GeyserMC/MCProtocolLib.git
synced 2025-03-14 07:00:03 -04:00
Readd checkerframework
This commit is contained in:
parent
447f3497ef
commit
e34a97cb66
3 changed files with 6 additions and 2 deletions
|
@ -79,6 +79,9 @@ dependencies {
|
|||
// Netty
|
||||
api(libs.bundles.netty)
|
||||
|
||||
// Checker Framework
|
||||
api(libs.checkerframework.qual)
|
||||
|
||||
// Test dependencies
|
||||
testImplementation(libs.junit.jupiter)
|
||||
}
|
||||
|
|
|
@ -12,6 +12,7 @@ math = "2.0"
|
|||
fastutil-maps = "8.5.3"
|
||||
netty = "4.1.103.Final"
|
||||
netty-io_uring = "0.0.24.Final"
|
||||
checkerframework = "3.42.0"
|
||||
junit = "5.8.2"
|
||||
|
||||
[libraries]
|
||||
|
@ -31,6 +32,8 @@ fastutil-int2object-maps = { module = "com.nukkitx.fastutil:fastutil-int-object-
|
|||
netty-all = { module = "io.netty:netty-all", version.ref = "netty" }
|
||||
netty-incubator-transport-native-io_uring = { module = "io.netty.incubator:netty-incubator-transport-native-io_uring", version.ref = "netty-io_uring" }
|
||||
|
||||
checkerframework-qual = { module = "org.checkerframework:checker-qual", version.ref = "checkerframework" }
|
||||
|
||||
junit-jupiter = { module = "org.junit.jupiter:junit-jupiter", version.ref = "junit" }
|
||||
|
||||
[plugins]
|
||||
|
|
|
@ -146,7 +146,6 @@ public abstract class PacketProtocol {
|
|||
* @param buf The buffer to read the packet from.
|
||||
* @param codecHelper The codec helper.
|
||||
* @return The created packet.
|
||||
* @if there was an IO error whilst reading the packet.
|
||||
* @throws IllegalArgumentException If the packet ID is not registered.
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
|
@ -212,7 +211,6 @@ public abstract class PacketProtocol {
|
|||
* @param buf The buffer to read the packet from.
|
||||
* @param codecHelper The codec helper.
|
||||
* @return The created packet.
|
||||
* @if there was an IO error whilst reading the packet.
|
||||
* @throws IllegalArgumentException If the packet ID is not registered.
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
|
|
Loading…
Reference in a new issue