mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 13:39:36 +07:00
[java] disable lambda -> method references for casts in qualifiers (IDEA-277905)
GitOrigin-RevId: 7904b8a59aa8c8f1f95deba5b14872624ff68ff7
This commit is contained in:
committed by
intellij-monorepo-bot
parent
0d9655f2ba
commit
1cd8782c82
@@ -1,6 +0,0 @@
|
||||
// "Replace lambda with method reference" "true"
|
||||
class Bar extends Random {
|
||||
public void test(Object obj) {
|
||||
Runnable r = ((String) obj)::trim;
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Replace lambda with method reference" "true"
|
||||
// "Replace lambda with method reference" "false"
|
||||
class Bar extends Random {
|
||||
public void test(Object obj) {
|
||||
Runnable r = () -> <caret>((String)obj).trim();
|
||||
|
||||
Reference in New Issue
Block a user