mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-11 02:39:37 +07:00
10 lines
253 B
Java
10 lines
253 B
Java
// "Replace iteration with bulk 'Collection.addAll' call" "true"
|
|
import java.util.*;
|
|
|
|
public class Main {
|
|
public void test(Integer[] arr) {
|
|
List<Integer> result = new ArrayList<>();
|
|
result.add(1);
|
|
result.addAll(Arrays.asList(arr));
|
|
}
|
|
} |