mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
incorrect default deprecation is used (IDEA-82721)
This commit is contained in:
+16
-1
@@ -59,4 +59,19 @@ abstract class ac1 {
|
||||
class ci1 extends ac1 implements i1 {
|
||||
// no chance not to implement it
|
||||
public void f() {}
|
||||
}
|
||||
}
|
||||
|
||||
class Aaa {
|
||||
public Aaa(String s) {
|
||||
System.out.println(s);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
*/
|
||||
public Aaa() {}
|
||||
|
||||
public void foo() {
|
||||
new Aaa("asdasdad") {};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user