From 42b2605c2a2f93d4b9ab3a20eba4da8cf2a4d108 Mon Sep 17 00:00:00 2001 From: "Denis.Zharkov" Date: Fri, 30 Jul 2021 13:12:58 +0300 Subject: [PATCH] Minor. Rename local vals --- .../kotlin/cli/jvm/compiler/jarfs/FastJarHandler.kt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/compiler/cli/src/org/jetbrains/kotlin/cli/jvm/compiler/jarfs/FastJarHandler.kt b/compiler/cli/src/org/jetbrains/kotlin/cli/jvm/compiler/jarfs/FastJarHandler.kt index aaa74186893..ce9177b892c 100644 --- a/compiler/cli/src/org/jetbrains/kotlin/cli/jvm/compiler/jarfs/FastJarHandler.kt +++ b/compiler/cli/src/org/jetbrains/kotlin/cli/jvm/compiler/jarfs/FastJarHandler.kt @@ -57,15 +57,15 @@ class FastJarHandler(val fileSystem: FastJarFileSystem, path: String) { return map.getOrPut(entryName) { val (parentName, shortName) = entryName.splitPath() - val parentInfo = getOrCreateDirectory(parentName, map) + val parentFile = getOrCreateDirectory(parentName, map) if ("." == shortName) { - return parentInfo + return parentFile } FastJarVirtualFile( this, shortName, if (entry.isDirectory) -1 else entry.uncompressedSize, - parentInfo + parentFile ) } } @@ -80,9 +80,9 @@ class FastJarHandler(val fileSystem: FastJarFileSystem, path: String) { require(entryName != parentPath) { "invalid entry name: '" + entryName + "' in " + this.file.absolutePath + "; after split: " + Pair(parentPath, shortName) } - val parentInfo = getOrCreateDirectory(parentPath, map) + val parentFile = getOrCreateDirectory(parentPath, map) - FastJarVirtualFile(this, shortName, -1, parentInfo) + FastJarVirtualFile(this, shortName, -1, parentFile) } }