mirror of
https://github.com/google/nomulus.git
synced 2025-05-14 00:17:20 +02:00
Declare types in ImmutableSet.of() usage
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=167625611
This commit is contained in:
parent
fa70bd272a
commit
57bcd6b1eb
4 changed files with 9 additions and 7 deletions
|
@ -119,7 +119,7 @@ public final class DomainTransferApproveFlow implements TransactionalFlow {
|
|||
// the transfer period to zero. There is not a transfer cost if the transfer period is zero.
|
||||
Optional<BillingEvent.OneTime> billingEvent =
|
||||
(transferData.getTransferPeriod().getValue() == 0)
|
||||
? Optional.absent()
|
||||
? Optional.<BillingEvent.OneTime>absent()
|
||||
: Optional.of(
|
||||
new BillingEvent.OneTime.Builder()
|
||||
.setReason(Reason.TRANSFER)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue