Skip to content

Commit 0602466

Browse files
committed
final update to indexer generations for upcoming 4.28.0 release to make sure no stale data is read from cache
1 parent ff8ef14 commit 0602466

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public class SpringFactoriesIndexer implements SpringIndexer {
5858

5959
// whenever the implementation of the indexer changes in a way that the stored data in the cache is no longer valid,
6060
// we need to change the generation - this will result in a re-indexing due to no up-to-date cache data being found
61-
private static final String GENERATION = "GEN-8";
61+
private static final String GENERATION = "GEN-9";
6262

6363
private static final String FILE_PATTERN = "**/META-INF/spring/*.factories";
6464

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public static enum SCAN_PASS {
9393

9494
// whenever the implementation of the indexer changes in a way that the stored data in the cache is no longer valid,
9595
// we need to change the generation - this will result in a re-indexing due to no up-to-date cache data being found
96-
private static final String GENERATION = "GEN-12";
96+
private static final String GENERATION = "GEN-13";
9797
private static final String INDEX_FILES_TASK_ID = "index-java-source-files-task-";
9898

9999
private static final String SYMBOL_KEY = "symbols";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public class SpringIndexerXML implements SpringIndexer {
5454

5555
// whenever the implementation of the indexer changes in a way that the stored data in the cache is no longer valid,
5656
// we need to change the generation - this will result in a re-indexing due to no up-to-date cache data being found
57-
private static final String GENERATION = "GEN-7";
57+
private static final String GENERATION = "GEN-8";
5858

5959
private static final String SYMBOL_KEY = "symbols";
6060
private static final String BEANS_KEY = "beans";

0 commit comments

Comments
 (0)