mirror of
https://github.com/google/nomulus
synced 2026-02-06 04:51:10 +00: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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user