mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
[java-inspections] AbstractClassNeverImplemented: improve description; reorder check for efficiency
GitOrigin-RevId: 4a7508def1712070c231ddc3ce6fd804bbc05784
This commit is contained in:
committed by
intellij-monorepo-bot
parent
7f1b92aeff
commit
70aabe4830
@@ -48,10 +48,10 @@ public final class AbstractClassNeverImplementedInspection extends BaseInspectio
|
||||
if (!aClass.hasModifierProperty(PsiModifier.ABSTRACT)) {
|
||||
return;
|
||||
}
|
||||
if (InheritanceUtil.hasImplementation(aClass)) {
|
||||
if (aClass.isDeprecated()) {
|
||||
return;
|
||||
}
|
||||
if (aClass.isDeprecated()) {
|
||||
if (InheritanceUtil.hasImplementation(aClass)) {
|
||||
return;
|
||||
}
|
||||
registerClassError(aClass);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
Reports <code>abstract</code> classes that have no concrete subclasses.
|
||||
Reports <code>abstract</code> classes that have no concrete subclasses. Deprecated abstract classes are not reported.
|
||||
<!-- tooltip end -->
|
||||
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user