remove CheckedRegistry#registerUnchecked

This commit is contained in:
dfsek
2021-10-17 11:27:33 -07:00
parent f5fdb6cb30
commit 56170d8392
2 changed files with 0 additions and 18 deletions

View File

@@ -14,16 +14,4 @@ public interface CheckedRegistry<T> extends Registry<T> {
*/
void register(String identifier, T value) throws DuplicateEntryException;
/**
* Add a value to the registry, without checking presence beforehand.
* <p>
* Use of this method is generally discouraged, as it is bad practice to overwrite registry values.
*
* @param identifier Identifier to assign value.
* @param value Value to register.
*
* @deprecated Use of {@link #register(String, Object)} is encouraged.
*/
@Deprecated
void registerUnchecked(String identifier, T value);
}