blob: a780cc31c11ce66c85f470e27e726798f9bb2878 [file]
// "Replace 'addAll()' call with parametrized constructor call" "true"
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
public class Test {
void test(Object c) {
List<String> list, other;
//noinspection unchecked
list = new ArrayList<>((Collection<String>) c);
System.out.println(list);
}
}