Skip to content

Commit 51b3a06

Browse files
committed
fixed duplicate bean index elements by adding a missing cleanup when full ast is required
1 parent 6a9c390 commit 51b3a06

File tree

1 file changed

+1
-0
lines changed
  • headless-services/spring-boot-language-server/src/main/java/org/springframework/ide/vscode/boot/java/utils

1 file changed

+1
-0
lines changed

headless-services/spring-boot-language-server/src/main/java/org/springframework/ide/vscode/boot/java/utils/SpringIndexerJava.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -777,6 +777,7 @@ public void accept(ReconcileProblem problem) {
777777
if (!context.isFullAst()) {
778778
// Let problems be found in the next pass, don't add the problems to the aggregate problems collector to not duplicate them with the next pass
779779
context.getNextPassFiles().add(context.getFile());
780+
context.resetDocumentRelatedElements(context.getDocURI());
780781
} else {
781782
problemCollector.endCollecting();
782783
log.error("Complete AST required but it is complete already. Parsing ", context.getDocURI());

0 commit comments

Comments
 (0)