mirror of
https://github.com/google/nomulus.git
synced 2025-05-16 09:27:16 +02: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:
parent
5790f9743f
commit
680abcb343
1 changed files with 2 additions and 2 deletions
|
@ -768,7 +768,7 @@ public class DomainTransferRequestFlowTest
|
||||||
ImmutableMap.of("PERIOD", "0", "AUTOMATIC_TRANSFER_LENGTH", "0"),
|
ImmutableMap.of("PERIOD", "0", "AUTOMATIC_TRANSFER_LENGTH", "0"),
|
||||||
Optional.<Money>absent(),
|
Optional.<Money>absent(),
|
||||||
Period.create(0, Unit.YEARS),
|
Period.create(0, Unit.YEARS),
|
||||||
Duration.standardDays(0));
|
Duration.ZERO);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@ -814,7 +814,7 @@ public class DomainTransferRequestFlowTest
|
||||||
ImmutableMap.of("PERIOD", "0", "AUTOMATIC_TRANSFER_LENGTH", "0"),
|
ImmutableMap.of("PERIOD", "0", "AUTOMATIC_TRANSFER_LENGTH", "0"),
|
||||||
Optional.<Money>absent(),
|
Optional.<Money>absent(),
|
||||||
Period.create(0, Unit.YEARS),
|
Period.create(0, Unit.YEARS),
|
||||||
Duration.standardDays(0));
|
Duration.ZERO);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue