Skip to content

Commit 2e7db46

Browse files
committed
remove special SpringFactoriesInformation as symbol addin information, not used anymore
1 parent 9329d25 commit 2e7db46

File tree

2 files changed

+2
-31
lines changed

2 files changed

+2
-31
lines changed

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

Lines changed: 0 additions & 27 deletions
This file was deleted.

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
import org.springframework.ide.vscode.boot.java.beans.BeanUtils;
4141
import org.springframework.ide.vscode.boot.java.beans.BeansSymbolAddOnInformation;
4242
import org.springframework.ide.vscode.boot.java.beans.BeansSymbolProvider;
43-
import org.springframework.ide.vscode.boot.java.beans.SpringFactoryInformation;
4443
import org.springframework.ide.vscode.boot.java.handlers.EnhancedSymbolInformation;
4544
import org.springframework.ide.vscode.boot.java.handlers.SymbolAddOnInformation;
4645
import org.springframework.ide.vscode.commons.java.IClasspathUtil;
@@ -61,7 +60,7 @@ public class SpringFactoriesIndexer implements SpringIndexer {
6160

6261
// whenever the implementation of the indexer changes in a way that the stored data in the cache is no longer valid,
6362
// we need to change the generation - this will result in a re-indexing due to no up-to-date cache data being found
64-
private static final String GENERATION = "GEN-5";
63+
private static final String GENERATION = "GEN-6";
6564

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

@@ -125,8 +124,7 @@ private List<EnhancedSymbolInformation> computeSymbols(String docURI, String con
125124
BeansSymbolProvider.beanLabel(false, beanId, fqName, Paths.get(URI.create(docURI)).getFileName().toString()),
126125
SymbolKind.Interface,
127126
Either.forLeft(new Location(docURI, range))), new SymbolAddOnInformation[] {
128-
new BeansSymbolAddOnInformation(beanId, fqName),
129-
new SpringFactoryInformation(key)
127+
new BeansSymbolAddOnInformation(beanId, fqName)
130128
}));
131129
} catch (Exception e) {
132130
log.error("", e);

0 commit comments

Comments
 (0)