mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-05 18:50:54 +07:00
redundant lambda code block: do not suggest for expressions with non-void type
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
// "Replace with one line expression" "false"
|
||||
class Test {
|
||||
{
|
||||
Runnable c = () -> <caret>{foo();};
|
||||
}
|
||||
|
||||
int foo() {return 1;}
|
||||
}
|
||||
Reference in New Issue
Block a user