mirror of
https://github.com/google/nomulus
synced 2026-03-27 12:55:28 +00:00
Remove unnecessary generic type arguments
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175155365
This commit is contained in:
@@ -32,7 +32,7 @@ public class DomainLookupCommand extends DomainOrHostLookupCommand {
|
||||
protected Optional<WhoisResponse> getResponse(InternetDomainName domainName, DateTime now) {
|
||||
final DomainResource domainResource =
|
||||
loadByForeignKey(DomainResource.class, domainName.toString(), now);
|
||||
return Optional.<WhoisResponse>ofNullable(
|
||||
return Optional.ofNullable(
|
||||
domainResource == null ? null : new DomainWhoisResponse(domainResource, now));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user