mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 16:07:15 +02:00
Replace com.google.common.base.Function with java.util.function.Function
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=179249159
This commit is contained in:
parent
d538dca2e0
commit
8157928a35
53 changed files with 424 additions and 399 deletions
|
@ -17,7 +17,6 @@ package google.registry.tools;
|
|||
import static java.util.stream.Collectors.joining;
|
||||
|
||||
import com.beust.jcommander.Parameters;
|
||||
import com.google.common.base.Functions;
|
||||
import com.google.common.collect.ComparisonChain;
|
||||
import com.google.common.collect.Ordering;
|
||||
import google.registry.rde.PendingDeposit;
|
||||
|
@ -49,7 +48,7 @@ final class PendingEscrowCommand implements RemoteApiCommand {
|
|||
SORTER
|
||||
.sortedCopy(checker.getTldsAndWatermarksPendingDepositForRdeAndBrda().values())
|
||||
.stream()
|
||||
.map(Functions.toStringFunction())
|
||||
.map(Object::toString)
|
||||
.collect(joining("\n")));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue