mirror of
https://github.com/google/nomulus
synced 2026-02-04 03:52:33 +00:00
Remove unnecessary generic type arguments
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175155365
This commit is contained in:
@@ -25,6 +25,6 @@ public abstract class EnumParameter<T extends Enum<T>> extends ParameterConverte
|
||||
|
||||
@Override
|
||||
public T convert(String value) {
|
||||
return Enum.<T>valueOf(new TypeInstantiator<T>(getClass()){}.getExactType(), value);
|
||||
return Enum.valueOf(new TypeInstantiator<T>(getClass()){}.getExactType(), value);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user