mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 08:06:56 +07:00
java: fix deadcode tests
GitOrigin-RevId: 8d170f38638a45e7a4304894e218ff0fbc02d8d9
This commit is contained in:
committed by
intellij-monorepo-bot
parent
3b492a9147
commit
4c7002e81c
@@ -168,7 +168,7 @@ public class DeadHTMLComposer extends HTMLComposerImpl {
|
||||
buf.append(AnalysisBundle.message("inspection.dead.code.problem.synopsis29.method", nRefs) );
|
||||
}
|
||||
}
|
||||
} else if (refClass instanceof RefClassImpl && ((RefClassImpl)refClass).isSuspicious()) {
|
||||
} else if (refClass instanceof RefClassImpl && ((RefClassImpl)refClass).isSuspicious() && !refClass.isUtilityClass()) {
|
||||
if (method.isAbstract() && !refClass.isInterface()) {
|
||||
buf.append(AnalysisBundle.message("inspection.dead.code.problem.synopsis14"));
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user