mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[java-psi] Support single-source file roots in various places (IDEA-368975)
GitOrigin-RevId: 2045de1f99ece67fe63a09f131664511167baf4a
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e34f9229bd
commit
745eef9189
-7
@@ -1,7 +1,6 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.openapi.roots.impl;
|
||||
|
||||
import com.intellij.openapi.diagnostic.Logger;
|
||||
import com.intellij.openapi.project.Project;
|
||||
import com.intellij.openapi.roots.PackageIndex;
|
||||
import com.intellij.openapi.util.NlsSafe;
|
||||
@@ -14,7 +13,6 @@ import org.jetbrains.annotations.Nullable;
|
||||
|
||||
@ApiStatus.Internal
|
||||
public final class ProjectPackageIndexImpl extends PackageIndex {
|
||||
private static final Logger LOG = Logger.getInstance(ProjectPackageIndexImpl.class);
|
||||
private final DirectoryIndex myDirectoryIndex;
|
||||
|
||||
@ApiStatus.Internal
|
||||
@@ -22,11 +20,6 @@ public final class ProjectPackageIndexImpl extends PackageIndex {
|
||||
myDirectoryIndex = DirectoryIndex.getInstance(project);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VirtualFile @NotNull [] getDirectoriesByPackageName(@NotNull @NlsSafe String packageName, boolean includeLibrarySources) {
|
||||
return getDirsByPackageName(packageName, includeLibrarySources).toArray(VirtualFile.EMPTY_ARRAY);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Query<VirtualFile> getDirsByPackageName(@NotNull @NlsSafe String packageName,
|
||||
@NotNull GlobalSearchScope scope) {
|
||||
|
||||
Reference in New Issue
Block a user