mirror of
https://github.com/google/nomulus
synced 2026-02-07 21:41:03 +00:00
Remove unnecessary generic type arguments
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175155365
This commit is contained in:
@@ -192,7 +192,7 @@ final class GenerateAuctionDataCommand implements RemoteApiCommand {
|
||||
Optional<ContactAddress> address =
|
||||
Optional.ofNullable(postalInfo.isPresent() ? postalInfo.get().getAddress() : null);
|
||||
List<String> street =
|
||||
address.isPresent() ? address.get().getStreet() : ImmutableList.<String>of();
|
||||
address.isPresent() ? address.get().getStreet() : ImmutableList.of();
|
||||
Optional<ContactPhoneNumber> phoneNumber = Optional.ofNullable(registrant.getVoiceNumber());
|
||||
|
||||
// Each line containing an auction participant has the following format:
|
||||
@@ -235,7 +235,7 @@ final class GenerateAuctionDataCommand implements RemoteApiCommand {
|
||||
Optional.ofNullable(registrar.getLocalizedAddress())
|
||||
.orElse(registrar.getInternationalizedAddress()));
|
||||
List<String> street =
|
||||
address.isPresent() ? address.get().getStreet() : ImmutableList.<String>of();
|
||||
address.isPresent() ? address.get().getStreet() : ImmutableList.of();
|
||||
|
||||
// Each line containing the registrar of an auction participant has the following format:
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user