mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 13:02:30 +07:00
avoid using includeNonProjectItems for returned symbol names
This commit is contained in:
@@ -26,7 +26,7 @@ import java.util.Collection;
|
||||
class XsltChooseByNameContributor implements ChooseByNameContributor {
|
||||
@NotNull
|
||||
public String[] getNames(Project project, boolean includeNonProjectItems) {
|
||||
final Collection<String> symbols = XsltSymbolIndex.getSymbolNames(project, includeNonProjectItems);
|
||||
final Collection<String> symbols = XsltSymbolIndex.getSymbolNames(project);
|
||||
return ArrayUtil.toStringArray(symbols);
|
||||
}
|
||||
|
||||
|
||||
@@ -163,7 +163,7 @@ public class XsltSymbolIndex extends FileBasedIndexExtension<String, XsltSymbolI
|
||||
}
|
||||
|
||||
@SuppressWarnings({ "UnusedDeclaration" })
|
||||
public static Collection<String> getSymbolNames(Project project, boolean includeNonProjectItems) {
|
||||
public static Collection<String> getSymbolNames(Project project) {
|
||||
return FileBasedIndex.getInstance().getAllKeys(NAME, project);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user