Skip to content

Commit

Permalink
api: i can spell
Browse files Browse the repository at this point in the history
  • Loading branch information
zml2008 committed Sep 11, 2021
1 parent 90d4596 commit c87c402
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ private void validateNoneInHierarchy(final Class<? extends Component> beingRegis
private static void testHierarchy(final Class<?> existing, final Class<?> beingRegistered) {
if (!existing.equals(beingRegistered) && (existing.isAssignableFrom(beingRegistered) || beingRegistered.isAssignableFrom(existing))) {
throw new IllegalArgumentException("Conflict detected between already registered type " + existing
+ " and newly registered type " + beingRegistered + "! Types in a component flattener must not share a common hierachy!");
+ " and newly registered type " + beingRegistered + "! Types in a component flattener must not share a common hierarchy!");
}
}

Expand Down

0 comments on commit c87c402

Please sign in to comment.