mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-05 18:50:54 +07:00
LambdaCanBeMethodReferenceInspection: support parentheses around whole lambda body
This commit is contained in:
@@ -3,6 +3,6 @@ import java.util.function.Predicate;
|
||||
|
||||
class Bar extends Random {
|
||||
public void test(Object obj) {
|
||||
Predicate<Object> pred = s -> s instanceof <caret>String;
|
||||
Predicate<Object> pred = s -> (s instanceof <caret>String);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user