mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
FilePathReferenceProvider.getRoots: remove unnecessary ModuleUtilCore.getDependencies() call
This commit is contained in:
-2
@@ -142,9 +142,7 @@ public class FilePathReferenceProvider extends PsiReferenceProvider {
|
||||
@NotNull
|
||||
public static Collection<PsiFileSystemItem> getRoots(final Module thisModule, boolean includingClasses) {
|
||||
if (thisModule == null) return Collections.emptyList();
|
||||
Set<Module> modules = new com.intellij.util.containers.HashSet<Module>();
|
||||
ModuleRootManager moduleRootManager = ModuleRootManager.getInstance(thisModule);
|
||||
ModuleUtilCore.getDependencies(thisModule, modules);
|
||||
List<PsiFileSystemItem> result = new ArrayList<PsiFileSystemItem>();
|
||||
final PsiManager psiManager = PsiManager.getInstance(thisModule.getProject());
|
||||
if (includingClasses) {
|
||||
|
||||
Reference in New Issue
Block a user