mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
logging for EA-91296 - NPE: UnusedDeclarationInspectionBase$.visitElement
This commit is contained in:
+1
@@ -453,6 +453,7 @@ public class UnusedDeclarationInspectionBase extends GlobalInspectionTool {
|
||||
final RefFilter filter = myPhase == 1 ? new StrictUnreferencedFilter(this, globalContext) :
|
||||
new RefUnreachableFilter(this, globalContext);
|
||||
final boolean[] requestAdded = {false};
|
||||
LOG.assertTrue(myProcessedSuspicious != null, "phase: " + myPhase);
|
||||
|
||||
globalContext.getRefManager().iterate(new RefJavaVisitor() {
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user