mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-03 22:15:45 +00:00
Nullability annotations
This commit is contained in:
6 files changed
+31
-15
No files matched your search
@@ -47,7 +47,7 @@ public class ChannelRegistry implements Registry<ChatChannel> {
|
||||
|
||||
@Override
|
||||
@Nullable
|
||||
public ChatChannel get(String key) {
|
||||
public ChatChannel get(@NotNull String key) {
|
||||
return registry.get(key);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user