mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
java: reject diamonds in anonymous classes with non-private methods (IDEA-248972;IDEA-248973)
GitOrigin-RevId: 5300c91c601dd59f3a020ac6a6627517aaca68c7
This commit is contained in:
committed by
intellij-monorepo-bot
parent
d2a66b75c5
commit
a2e3d7e5ab
+7
@@ -0,0 +1,7 @@
|
||||
// "Replace with <>" "false"
|
||||
import java.util.*;
|
||||
class Test {
|
||||
List<String> l = new ArrayList<St<caret>ring>() {
|
||||
void non_private_method() {}
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user