avoid using includeNonProjectItems for returned symbol names

This commit is contained in:
Maxim.Mossienko
2013-07-31 18:59:39 +02:00
parent 06dabf5199
commit bcc920bb33
2 changed files with 2 additions and 2 deletions

View File

@@ -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);
}

View File

@@ -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);
}