[java-inspections] More tests for preview

GitOrigin-RevId: 6b6405ee4491ad1d58947547c40df6fb2d291ab7
This commit is contained in:
Tagir Valeev
2022-07-27 15:39:26 +02:00
committed by intellij-monorepo-bot
parent bbb218a972
commit dd689d3a39
433 changed files with 433 additions and 433 deletions

View File

@@ -1,6 +1,6 @@
import java.util.stream.Stream;
// "Fold expression into Stream chain" "true"
// "Fold expression into Stream chain" "true-preview"
class Test {
boolean foo(String a, String b, String c, String d) {
return Stream.of(a, b, c, d).allMatch(s -> s.startsWith("xyz"));