Skip to content

Commit d4a1105

Browse files
committed
Remove DataAlreadyRegisteredException
This exception was previously thrown by buildAndRegister method. After the data API refactor the exception is unused and never thrown. Remove the exception and update the documentation
1 parent 1506de9 commit d4a1105

File tree

2 files changed

+0
-46
lines changed

2 files changed

+0
-46
lines changed

src/main/java/org/spongepowered/api/data/DataAlreadyRegisteredException.java

Lines changed: 0 additions & 45 deletions
This file was deleted.

src/main/java/org/spongepowered/api/data/DataRegistration.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,6 @@ interface Builder extends org.spongepowered.api.util.Builder<DataRegistration, B
239239
* in this registration
240240
* @throws IllegalStateException If there are no {@link DataProvider}s
241241
* or {@link DataStore}s, resulting in the keys being dynamic
242-
* @throws DataAlreadyRegisteredException If a key has already been claimed by another registration
243242
*/
244243
@Override
245244
DataRegistration build();

0 commit comments

Comments
 (0)