Skip to content

Commit 3ec29f9

Browse files
committed
Annotated TagAdapter with @NullMarked
Added `@NullMarked` annotation to explicitly declare nullness expectations for the `TagAdapter` interface.
1 parent 4c1aa49 commit 3ec29f9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
package core.nbt.serialization;
22

3+
import org.jspecify.annotations.NullMarked;
4+
35
/**
46
* Combines functionality of {@link TagDeserializer} and {@link TagSerializer}
57
* for handling both serialization and deserialization of the specified type.
68
*
79
* @param <T> the type of objects handled by this adapter
810
*/
11+
@NullMarked
912
public interface TagAdapter<T> extends TagDeserializer<T>, TagSerializer<T> {
1013
}

0 commit comments

Comments
 (0)