From 9a3709624d5b415f5ae0bc9c7c3208a5dccb651e Mon Sep 17 00:00:00 2001 From: Iaroslav Date: Wed, 24 Jun 2020 15:54:17 +0700 Subject: [PATCH] Use hashMap instead of map --- .../kotlin/scientifik/kmath/asm/internal/AsmBuilder.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kmath-ast/src/jvmMain/kotlin/scientifik/kmath/asm/internal/AsmBuilder.kt b/kmath-ast/src/jvmMain/kotlin/scientifik/kmath/asm/internal/AsmBuilder.kt index 77a4ee9e9..95c84ca51 100644 --- a/kmath-ast/src/jvmMain/kotlin/scientifik/kmath/asm/internal/AsmBuilder.kt +++ b/kmath-ast/src/jvmMain/kotlin/scientifik/kmath/asm/internal/AsmBuilder.kt @@ -387,7 +387,7 @@ internal class AsmBuilder internal constructor( * Maps JVM primitive numbers boxed types to their letters of JVM signature convention. */ private val SIGNATURE_LETTERS: Map, String> by lazy { - mapOf( + hashMapOf( java.lang.Byte::class.java to "B", java.lang.Short::class.java to "S", java.lang.Integer::class.java to "I", @@ -397,8 +397,8 @@ internal class AsmBuilder internal constructor( ) } - private val NUMBER_CONVERTER_METHODS by lazy { - mapOf( + private val NUMBER_CONVERTER_METHODS: Map by lazy { + hashMapOf( "B" to "byteValue", "S" to "shortValue", "I" to "intValue",