Fixed issues with //copy

Dieser Commit ist enthalten in:
MattBDev 2019-05-31 10:41:05 -04:00
Ursprung aea5b68ced
Commit 3eb7200ea0

Datei anzeigen

@ -40,13 +40,7 @@ public class Registry<V> implements Iterable<V> {
this.name = name; this.name = name;
} }
public @Nullable V get(final CharSequence key) { public @Nullable V get(final String key) {
return this.map.get(key);
}
@Nullable
public V get(final String key) {
checkState(key.equals(key.toLowerCase(Locale.ROOT)), "key must be lowercase");
return this.map.get(key); return this.map.get(key);
} }