Group names should always be lowercase in inheritance nodes

This commit is contained in:
Luck 2020-05-28 00:49:32 +01:00
parent dc32c84bb3
commit ab082aa311
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

View File

@ -96,7 +96,7 @@ public class Inheritance extends AbstractNode<InheritanceNode, InheritanceNode.B
@Override
public @NonNull Builder group(@NonNull String group) {
this.groupName = Objects.requireNonNull(group, "group");
this.groupName = Objects.requireNonNull(group, "group").toLowerCase();
return this;
}