mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-02 06:28:54 +00:00
Infer nullability, pre human pass
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user