mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 03:21:12 +07:00
[project-model] fillPackageDirectories: faster filesystem check
GitOrigin-RevId: 652c7ababfb7b6f3f8f85c4f785f9183bc8f2ba5
This commit is contained in:
committed by
intellij-monorepo-bot
parent
6786256e4d
commit
597cc08ccc
@@ -322,7 +322,7 @@ internal class WorkspaceFileIndexDataImpl(private val contributorList: List<Work
|
||||
}
|
||||
else {
|
||||
if (addedRoots.add(root)) result.add(root)
|
||||
if (root.fileType is ArchiveFileType) {
|
||||
if (root.fileSystem.protocol == StandardFileSystems.JAR_PROTOCOL) {
|
||||
root.findChild("META-INF")?.findChild("versions")?.children?.forEach { versionRoot ->
|
||||
val version = versionRoot.name.toIntOrNull()
|
||||
if (version != null && version >= 9) {
|
||||
|
||||
Reference in New Issue
Block a user