mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-27 22:20:54 +07:00
13 lines
277 B
Java
13 lines
277 B
Java
// "Replace iteration with bulk 'Collection.addAll()' call" "true-preview"
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
|
|
class Sample {
|
|
List<String> foo = new ArrayList<>();
|
|
String foo(){
|
|
Sample sm = new Sample();
|
|
sm.foo.addAll(foo);
|
|
return null;
|
|
}
|
|
}
|