Remove redundant toList call in LazyJavaPackageScope
This commit is contained in:
committed by
Roman Golyshev
parent
82fb5c4d19
commit
a18da68171
+1
-1
@@ -178,7 +178,7 @@ class LazyJavaPackageScope(
|
|||||||
emptyList()
|
emptyList()
|
||||||
} else {
|
} else {
|
||||||
// we don't use implementation from super which caches all descriptors and does not use filters
|
// we don't use implementation from super which caches all descriptors and does not use filters
|
||||||
allDescriptors().filter { it is ClassDescriptor && nameFilter(it.name) }.toList()
|
allDescriptors().filter { it is ClassDescriptor && nameFilter(it.name) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user