Skip to content

Commit 8b7a120

Browse files
refactor: Static imports for Collections and Collectors
Use this link to re-run the recipe: https://app.moderne.io/builder/m9HsHwu2Z?organizationId=ODQ2MGExMTUtNDg0My00N2EwLTgzMGMtNGE1NGExMTBmZDkw Co-authored-by: Moderne <team@moderne.io>
1 parent cbcefec commit 8b7a120

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/test/java/org/openrewrite/java/dependencies/DependencyListTest.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
import org.openrewrite.test.RewriteTest;
2323

2424
import java.nio.file.Path;
25-
import java.util.Collections;
2625

2726
import static java.util.Collections.*;
2827
import static org.assertj.core.api.Assertions.assertThat;
@@ -187,8 +186,8 @@ void validateResolvable() {
187186
rgav, requested, emptyList(), emptyList(), null, null, null, 0, null)
188187
)),
189188
null,
190-
Collections.emptyList(),
191-
Collections.emptyMap()
189+
emptyList(),
190+
emptyMap()
192191
));
193192
}
194193
)

0 commit comments

Comments
 (0)