We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f0bb94 commit f1a83f4Copy full SHA for f1a83f4
src/test/java/org/openrewrite/staticanalysis/JavaToCsharp.java
@@ -21,7 +21,6 @@
21
import org.openrewrite.java.tree.Statement;
22
23
import java.util.List;
24
-import static java.util.stream.Collectors.toList;
25
26
public class JavaToCsharp {
27
@@ -41,7 +40,7 @@ public static Cs.CompilationUnit compilationUnit(J.CompilationUnit cu) {
41
40
cu.getClasses().stream()
42
.map(Statement.class::cast)
43
.map(JRightPadded::build)
44
- .collect(toList()),
+ .toList(),
45
cu.getEof());
46
}
47
0 commit comments