mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-10 13:17:09 +07:00
Less smart simplifications after loop-to-stream (keep stream)
This commit is contained in:
+1
-1
@@ -4,6 +4,6 @@ import java.util.*;
|
||||
|
||||
public class Main {
|
||||
private void test(List<String> strs) {
|
||||
String[] arr = strs.toArray();
|
||||
String[] arr = strs.stream().toArray();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user