mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-24 09:20:53 +07:00
9 lines
212 B
Java
9 lines
212 B
Java
// "Replace with a null check" "true-preview"
|
|
import java.util.stream.Stream;
|
|
|
|
class Test {
|
|
void test(Stream<String> s) {
|
|
s.filter(String.class::<caret>isInstance)
|
|
.forEach(System.out::println);
|
|
}
|
|
} |