mirror of
https://github.com/google/nomulus
synced 2026-03-27 12:55:28 +00:00
Use the canonical duration Duration.ZERO instead of new instances
This is a PleaseFix presubmit warning. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=171839011
This commit is contained in:
@@ -768,7 +768,7 @@ public class DomainTransferRequestFlowTest
|
||||
ImmutableMap.of("PERIOD", "0", "AUTOMATIC_TRANSFER_LENGTH", "0"),
|
||||
Optional.<Money>absent(),
|
||||
Period.create(0, Unit.YEARS),
|
||||
Duration.standardDays(0));
|
||||
Duration.ZERO);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -814,7 +814,7 @@ public class DomainTransferRequestFlowTest
|
||||
ImmutableMap.of("PERIOD", "0", "AUTOMATIC_TRANSFER_LENGTH", "0"),
|
||||
Optional.<Money>absent(),
|
||||
Period.create(0, Unit.YEARS),
|
||||
Duration.standardDays(0));
|
||||
Duration.ZERO);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user