This commit is contained in:
aboyko
2023-11-08 11:14:44 -05:00

View File

@@ -191,11 +191,12 @@ public class SpringIndexerJava implements SpringIndexer {
if (updatedDocs != null) {
DocumentDescriptor[] docs = filterDocuments(project, updatedDocs);
for (DocumentDescriptor updatedDoc : docs) {
this.symbolHandler.removeSymbols(project, updatedDoc.getDocURI());
if (docs.length > 0) {
for (DocumentDescriptor updatedDoc : docs) {
this.symbolHandler.removeSymbols(project, updatedDoc.getDocURI());
}
scanFiles(project, docs);
}
scanFiles(project, docs);
}
}