KT-12877: minor fixes and cleanup
This commit is contained in:
committed by
Alexey Andreev
parent
d1820b42ef
commit
d40e923722
+1
-1
@@ -50,7 +50,7 @@ class KotlinJavascriptPackageFragment(
|
||||
loadResource(KotlinJavascriptSerializedResourcePaths.getFileListFilePath(fqName))?.use { rawInput ->
|
||||
val input = CodedInputStream.newInstance(rawInput)
|
||||
val filesProto = JsProtoBuf.Files.parseFrom(input).fileOrBuilderList
|
||||
filesProto.map { it.id to FileHolder(it.annotationList) }.toMap()
|
||||
filesProto.associate { it.id to FileHolder(it.annotationList) }
|
||||
}.orEmpty()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user