mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-02 14:38:49 +00:00
Nullability annotations
This commit is contained in:
6 files changed
+31
-15
No files matched your search
@@ -28,7 +28,7 @@ public interface Registry<T> {
|
||||
* @return The entry associated with the key
|
||||
*/
|
||||
@Nullable
|
||||
T get(String key);
|
||||
T get(@NotNull String key);
|
||||
|
||||
/**
|
||||
* Clears all registered entries from the registry
|
||||
|
||||
Reference in new issue
Block a user