blob: 13bdc5459fd3ddf8021cee963ab3500f95e2c81b [file] [log] [blame]
// "Replace with collect" "true"
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
class Sample {
List<String> foo = new ArrayList<>();
String foo(){
Sample sm = new Sample();
sm.foo.addAll(foo.stream().collect(Collectors.toList()));
return null;
}
}