Remove unnecessary generic type arguments

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=175155365
This commit is contained in:
mcilwain 2017-11-09 07:33:40 -08:00 committed by jianglai
parent 8dcc2d6833
commit 2aa897e698
140 changed files with 355 additions and 465 deletions

View file

@ -156,7 +156,7 @@ public class RdapDomainSearchAction extends RdapActionBase {
builder,
BoilerplateType.DOMAIN,
results.getIncompletenessWarnings(),
ImmutableList.<ImmutableMap<String, Object>>of(),
ImmutableList.of(),
fullServletPath);
return builder.build();
}
@ -210,7 +210,7 @@ public class RdapDomainSearchAction extends RdapActionBase {
loadByForeignKey(DomainResource.class, partialStringQuery.getInitialString(), now);
ImmutableList<DomainResource> results =
((domainResource == null) || !shouldBeVisible(domainResource, now))
? ImmutableList.<DomainResource>of()
? ImmutableList.of()
: ImmutableList.of(domainResource);
return makeSearchResults(results, now);
}