mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-20 11:36:16 +07:00
11 lines
237 B
Java
11 lines
237 B
Java
// "Replace with 'java.util.HashSet' constructor" "true"
|
|
|
|
import java.util.HashSet;
|
|
import java.util.List;
|
|
import java.util.stream.*;
|
|
|
|
class Test {
|
|
public static void test(List<String> s) {
|
|
new HashSet<>(s).contains("abc");
|
|
}
|
|
} |