mirror of
https://github.com/google/nomulus
synced 2026-01-08 15:21:46 +00:00
Remove unnecessary explicit generic type declarations
They can be inferred correctly even in Java 7, and display as compiler warnings in IntelliJ. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=173451087
This commit is contained in:
@@ -29,7 +29,7 @@ abstract class RdapResourcesAndIncompletenessWarningType<T extends EppResource>
|
||||
|
||||
static <S extends EppResource> RdapResourcesAndIncompletenessWarningType<S> create(
|
||||
List<S> resources, IncompletenessWarningType incompletenessWarningType) {
|
||||
return new AutoValue_RdapResourcesAndIncompletenessWarningType<S>(
|
||||
return new AutoValue_RdapResourcesAndIncompletenessWarningType<>(
|
||||
resources, incompletenessWarningType);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user