mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-31 17:45:48 +07:00
GitOrigin-RevId: 9d8cf85eb1eee3ca8a38c2bcde119666afcc7934
9 lines
208 B
Java
9 lines
208 B
Java
// "Replace with 'stream.findAny().isPresent()'" "true-preview"
|
|
|
|
import java.util.stream.Stream;
|
|
|
|
class Test {
|
|
boolean isPresent(Stream<String> stream) {
|
|
return stream.skip(42).c<caret>ount() > 0;
|
|
}
|
|
} |