fix issue, new dependencies from reconcilers are now also stored in the dependency tracker

This commit is contained in:
Martin Lippert
2025-03-27 12:01:38 +01:00
parent 4a20b1bdb7
commit f08bfb3f47

View File

@@ -686,6 +686,12 @@ public class SpringIndexerJava implements SpringIndexer {
try {
DocumentUtils.getTempTextDocument(docURI, docRef, null); // initialize the docRef with a real document before running validations
reconcile(context);
Collection<String> dependencies = dependencyTracker.get(context.getFile());
for (String dependency : context.getDependencies()) {
dependencies.add(dependency);
}
} catch (Exception e) {
log.error("problem creating temp document during re-reconciling for: " + docURI, e);
}