mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-03 14:17:48 +07:00
GitOrigin-RevId: 9d8cf85eb1eee3ca8a38c2bcde119666afcc7934
11 lines
239 B
Java
11 lines
239 B
Java
// "Replace with 'stream.anyMatch()'" "true-preview"
|
|
|
|
import java.util.Arrays;
|
|
|
|
class Test {
|
|
boolean anyMatch() {
|
|
/*c*/
|
|
/*d*/
|
|
return Arrays.asList("ds", "e", "fe")./*a*/stream(/*b*/).anyMatch(s -> s.length() > 1);
|
|
}
|
|
} |