mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
EA-78630 - CCE: TrivialFunctionalExpressionUsageInspection$ReplaceWithLambdaBodyFix.replaceWithLambdaBody
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
// "Replace method call on lambda with lambda body" "false"
|
||||
import java.util.function.Supplier;
|
||||
|
||||
class Test {
|
||||
{
|
||||
System.out.println(((Supplier<String>)() -> {
|
||||
switch () {
|
||||
default:
|
||||
return "";
|
||||
}
|
||||
}).g<caret>et());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user