mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-26 19:06:24 +07:00
SplitFilterAction: allow parentheses around lambda
GitOrigin-RevId: e83bfe28747e7e41e96ec430ba754507a0cb5b77
This commit is contained in:
committed by
intellij-monorepo-bot
parent
503821f46c
commit
6cfec9484e
+1
-1
@@ -4,6 +4,6 @@ import java.util.stream.Stream;
|
||||
class Test {
|
||||
void foo(Stream<String> stringStream ) {
|
||||
stringStream.filter(name -> name.startsWith("A")//starts with A
|
||||
).filter(name -> /*comment*/name.length() > 1).findAny();
|
||||
).filter((name -> /*comment*/name.length() > 1)).findAny();
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -3,7 +3,7 @@
|
||||
import java.util.stream.Stream;
|
||||
class Test {
|
||||
void foo(Stream<String> stringStream ) {
|
||||
stringStream.filter(name -> name.startsWith("A") //starts with A
|
||||
&<caret>& /*comment*/name.length() > 1).findAny();
|
||||
stringStream.filter((name -> name.startsWith("A") //starts with A
|
||||
&<caret>& /*comment*/name.length() > 1)).findAny();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user