Qualify the usage of ImmutableMap.of()

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=167723174
This commit is contained in:
bbilbo 2017-09-06 08:19:42 -07:00 committed by jianglai
parent 3687cc5138
commit 2319ae31d5
2 changed files with 4 additions and 4 deletions

View file

@ -300,9 +300,7 @@ public class DomainTransferApproveFlowTest
.build())
.toArray(BillingEvent.class));
// There should be no grace period.
assertGracePeriods(
domain.getGracePeriods(),
ImmutableMap.of());
assertGracePeriods(domain.getGracePeriods(), ImmutableMap.<GracePeriod, BillingEvent>of());
}
private void doSuccessfulTest(String tld, String commandFilename, String expectedXmlFilename)

View file

@ -320,7 +320,9 @@ public class DomainTransferRequestFlowTest
// gaining and losing registrars should have a new poll message.
DomainResource domainAfterAutomaticTransfer = domain.cloneProjectedAtTime(implicitTransferTime);
// There should be no grace period.
assertGracePeriods(domainAfterAutomaticTransfer.getGracePeriods(), ImmutableMap.of());
assertGracePeriods(
domainAfterAutomaticTransfer.getGracePeriods(),
ImmutableMap.<GracePeriod, BillingEvent>of());
}
private void assertPollMessagesEmitted(