mirror of
https://github.com/google/nomulus.git
synced 2025-07-21 02:06:00 +02:00
Run automatic Java 8 conversion over codebase
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=171174380
This commit is contained in:
parent
44df5da771
commit
5edb7935ed
190 changed files with 2312 additions and 3096 deletions
|
@ -25,7 +25,6 @@ import static java.util.Arrays.asList;
|
|||
|
||||
import com.google.appengine.api.taskqueue.dev.QueueStateInfo.TaskStateInfo;
|
||||
import com.google.appengine.tools.development.testing.LocalTaskQueueTestConfig;
|
||||
import com.google.common.base.Function;
|
||||
import com.google.common.base.Joiner;
|
||||
import com.google.common.base.Optional;
|
||||
import com.google.common.base.Splitter;
|
||||
|
@ -106,14 +105,13 @@ public class TldFanoutActionTest {
|
|||
private static void assertTasks(String... tasks) throws Exception {
|
||||
assertTasksEnqueued(
|
||||
QUEUE,
|
||||
transform(asList(tasks), new Function<String, TaskMatcher>() {
|
||||
@Override
|
||||
public TaskMatcher apply(String namespace) {
|
||||
return new TaskMatcher()
|
||||
.url(ENDPOINT)
|
||||
.header("content-type", "application/x-www-form-urlencoded")
|
||||
.param("tld", namespace);
|
||||
}}));
|
||||
transform(
|
||||
asList(tasks),
|
||||
(String namespace) ->
|
||||
new TaskMatcher()
|
||||
.url(ENDPOINT)
|
||||
.header("content-type", "application/x-www-form-urlencoded")
|
||||
.param("tld", namespace)));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue