mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 14:25:04 +07:00
disable trivial functional expression for body with returns (IDEA-173436)
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
// "Replace method call on lambda with lambda body" "false"
|
||||
|
||||
class Test {
|
||||
void foo() {
|
||||
Runnable r = () -> {
|
||||
if (true) return;
|
||||
System.out.println("");
|
||||
};
|
||||
r.r<caret>un();
|
||||
System.out.println("");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user