Remove unneeded validation in feature set usage

This validation is not needed, as we have discovered the source of the
serialization error that was leading to some usage instances appearing
to not have a name.
This commit is contained in:
Jason Tedor 2020-04-18 14:26:09 -04:00
parent 23049391be
commit 9ecb222bfa
No known key found for this signature in database
GPG Key ID: FA89F05560F16BC5
1 changed files with 0 additions and 3 deletions

View File

@ -43,9 +43,6 @@ public interface XPackFeatureSet {
public Usage(String name, boolean available, boolean enabled) {
Objects.requireNonNull(name);
if (name.isEmpty()) {
throw new IllegalArgumentException("name must not be empty");
}
this.name = name;
this.available = available;
this.enabled = enabled;