Skip to content

Commit

Permalink
Revert "Throw an exception when a resource name collision is detected"
Browse files Browse the repository at this point in the history
This reverts commit 6d95a48.
  • Loading branch information
mattdailis committed Oct 2, 2023
1 parent 6d95a48 commit 1f51a50
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ CellId<State> allocate(

@Override
public void resource(final String name, final Resource<?> resource) {
if (this.resources.containsKey(name)) throw new IllegalArgumentException("A resource with that name has already been declared: \"" + name + "\"");
this.resources.put(name, resource);
}

Expand Down

0 comments on commit 1f51a50

Please sign in to comment.