J2K KotlinSourceFilterScope: rename file
This commit is contained in:
+2
-2
@@ -17,7 +17,6 @@
|
|||||||
package org.jetbrains.kotlin.idea.stubindex
|
package org.jetbrains.kotlin.idea.stubindex
|
||||||
|
|
||||||
import com.intellij.openapi.project.Project
|
import com.intellij.openapi.project.Project
|
||||||
import com.intellij.openapi.roots.ProjectFileIndex
|
|
||||||
import com.intellij.openapi.roots.ProjectRootManager
|
import com.intellij.openapi.roots.ProjectRootManager
|
||||||
import com.intellij.openapi.util.Ref
|
import com.intellij.openapi.util.Ref
|
||||||
import com.intellij.openapi.vfs.VirtualFile
|
import com.intellij.openapi.vfs.VirtualFile
|
||||||
@@ -73,7 +72,8 @@ class KotlinSourceFilterScope private constructor(
|
|||||||
includeProjectSourceFiles: Boolean,
|
includeProjectSourceFiles: Boolean,
|
||||||
includeLibrarySourceFiles: Boolean,
|
includeLibrarySourceFiles: Boolean,
|
||||||
includeClassFiles: Boolean,
|
includeClassFiles: Boolean,
|
||||||
project: Project): GlobalSearchScope {
|
project: Project
|
||||||
|
): GlobalSearchScope {
|
||||||
if (delegate === GlobalSearchScope.EMPTY_SCOPE) return delegate
|
if (delegate === GlobalSearchScope.EMPTY_SCOPE) return delegate
|
||||||
|
|
||||||
if (delegate is KotlinSourceFilterScope) {
|
if (delegate is KotlinSourceFilterScope) {
|
||||||
Reference in New Issue
Block a user