Infer nullability, pre human pass

This commit is contained in:
Mariell Hoversholm committed 2020-09-09 22:15:54 +02:00
1 parent c949836e3c
commit 8de275cc6b
62 files changed
+303 -249

No files matched your search

@@ -20,7 +20,7 @@ public class ChannelRegisterEvent extends Event {
return handlers;
}
public static HandlerList getHandlerList() {
public static @NonNull HandlerList getHandlerList() {
return handlers;
}
@@ -35,7 +35,7 @@ public class ChannelRegisterEvent extends Event {
this.registry = registry;
}
public void register(ChatChannel chatChannel) {
public void register(@NonNull ChatChannel chatChannel) {
registry.register(chatChannel.getKey(), chatChannel);
}