mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-23 06:51:24 +07:00
Inspection: Expression can be folded into Stream chain (IDEA-187123)
This commit is contained in:
@@ -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