Skip to content

Commit

Permalink
remove special SpringFactoriesInformation as symbol addin information…
Browse files Browse the repository at this point in the history
…, not used anymore
  • Loading branch information
martinlippert committed Dec 12, 2024
1 parent 9329d25 commit 2e7db46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 31 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
import org.springframework.ide.vscode.boot.java.beans.BeanUtils;
import org.springframework.ide.vscode.boot.java.beans.BeansSymbolAddOnInformation;
import org.springframework.ide.vscode.boot.java.beans.BeansSymbolProvider;
import org.springframework.ide.vscode.boot.java.beans.SpringFactoryInformation;
import org.springframework.ide.vscode.boot.java.handlers.EnhancedSymbolInformation;
import org.springframework.ide.vscode.boot.java.handlers.SymbolAddOnInformation;
import org.springframework.ide.vscode.commons.java.IClasspathUtil;
Expand All @@ -61,7 +60,7 @@ public class SpringFactoriesIndexer implements SpringIndexer {

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

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

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

0 comments on commit 2e7db46

Please sign in to comment.