mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-10 13:17:09 +07:00
Inspection: Expression can be folded into Stream chain (IDEA-187123)
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
// "Fold expression into Stream chain" "true"
|
||||
class Test {
|
||||
boolean foo(String a, String b, String c, String d) {
|
||||
return !(a.startsWith("xyz") |<caret>| b.startsWith("xyz") || c.startsWith("xyz") || d.startsWith("xyz"));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user