mirror of
https://github.com/google/nomulus.git
synced 2025-06-27 14:54:51 +02:00
Use Predicates.not for one-liner functionals when appropriate
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=193386976
This commit is contained in:
parent
744727a58f
commit
9ed4d43f41
3 changed files with 5 additions and 4 deletions
|
@ -131,7 +131,7 @@ public final class TldFanoutAction implements Runnable {
|
|||
runInEmpty ? Stream.of("") : Stream.of(),
|
||||
forEachRealTld ? getTldsOfType(REAL).stream() : Stream.of(),
|
||||
forEachTestTld ? getTldsOfType(TEST).stream() : Stream.of())
|
||||
.filter(tld -> !excludes.contains(tld))
|
||||
.filter(not(in(excludes)))
|
||||
.collect(toImmutableSet());
|
||||
Multimap<String, String> flowThruParams = filterKeys(params, not(in(CONTROL_PARAMS)));
|
||||
Queue taskQueue = getQueue(queue);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue