mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 02:09:59 +07:00
15 lines
270 B
Java
15 lines
270 B
Java
// "Replace with collect" "true"
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
|
|
class Sample {
|
|
List<String> foo = new ArrayList<>();
|
|
String foo(){
|
|
Sample sm = new Sample();
|
|
for (String s : fo<caret>o) {
|
|
sm.foo.add(s);
|
|
}
|
|
return null;
|
|
}
|
|
}
|