mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
Deprecation warning not highlighted when superclass default constructor is deprecated (IDEA-68898)
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<problems>
|
||||
<problem>
|
||||
<file>Test.java</file>
|
||||
<line>5</line>
|
||||
<description>Default constructor in C is deprecated</description>
|
||||
</problem>
|
||||
</problems>
|
||||
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
class C {
|
||||
@Deprecated C() { }
|
||||
}
|
||||
|
||||
class D extends C {
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<problems>
|
||||
<problem>
|
||||
<file>Test.java</file>
|
||||
<line>6</line>
|
||||
<description>Default constructor in C is deprecated</description>
|
||||
</problem>
|
||||
</problems>
|
||||
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
class C {
|
||||
@Deprecated C() { }
|
||||
}
|
||||
|
||||
class D extends C {
|
||||
D() {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user