mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-29 18:17:08 +07:00
13 lines
347 B
Java
13 lines
347 B
Java
// "Replace 'addAll()' call with parametrized constructor call" "true"
|
|
import java.lang.String;
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
import java.util.HashSet;
|
|
import java.util.Collection;
|
|
|
|
class C {
|
|
void m() {
|
|
final Collection<String> strings = new ArrayList<String>();
|
|
(strings).<caret>addAll(new HashSet<String>());
|
|
}
|
|
} |