From 70ac504dff6e36ac0d14bbdf7211c3ae6b19ebe7 Mon Sep 17 00:00:00 2001 From: ghm Date: Mon, 18 Sep 2023 09:05:10 -0700 Subject: [PATCH] Remove duplicate imports. (That's legal?) PiperOrigin-RevId: 566319358 --- .../google/errorprone/bugpatterns/UnnecessaryLambdaTest.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/src/test/java/com/google/errorprone/bugpatterns/UnnecessaryLambdaTest.java b/core/src/test/java/com/google/errorprone/bugpatterns/UnnecessaryLambdaTest.java index f80bb0eb527..68b0abf5faf 100644 --- a/core/src/test/java/com/google/errorprone/bugpatterns/UnnecessaryLambdaTest.java +++ b/core/src/test/java/com/google/errorprone/bugpatterns/UnnecessaryLambdaTest.java @@ -395,8 +395,6 @@ public void iterable() { .addInputLines( "Test.java", "import java.util.stream.IntStream;", - "import java.util.ArrayList;", - "import java.util.stream.IntStream;", "class Example {", " void someLoopyCode() {", " for (int i : someIterable()) {",