Nullability annotations

This commit is contained in:
Mariell Hoversholm committed 2020-09-05 16:22:39 +02:00
1 parent c8990e9a13
commit 8040c5fb72
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);
}