mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-31 01:43:23 +07:00
GitOrigin-RevId: 6f59499467a97c5f04c2ce6834ddd84640235cdf
9 lines
195 B
Java
9 lines
195 B
Java
// "Replace with 'stream.findAny().isPresent()'" "false"
|
|
|
|
import java.util.Arrays;
|
|
|
|
class Test {
|
|
boolean isPresent() {
|
|
return Arrays.asList('d', 'e', 'f').stream().c<caret>ount() > 0;
|
|
}
|
|
} |