Use hashMap instead of map
This commit is contained in:
parent
f475335df1
commit
9a3709624d
@ -387,7 +387,7 @@ internal class AsmBuilder<T> internal constructor(
|
|||||||
* Maps JVM primitive numbers boxed types to their letters of JVM signature convention.
|
* Maps JVM primitive numbers boxed types to their letters of JVM signature convention.
|
||||||
*/
|
*/
|
||||||
private val SIGNATURE_LETTERS: Map<Class<out Any>, String> by lazy {
|
private val SIGNATURE_LETTERS: Map<Class<out Any>, String> by lazy {
|
||||||
mapOf(
|
hashMapOf(
|
||||||
java.lang.Byte::class.java to "B",
|
java.lang.Byte::class.java to "B",
|
||||||
java.lang.Short::class.java to "S",
|
java.lang.Short::class.java to "S",
|
||||||
java.lang.Integer::class.java to "I",
|
java.lang.Integer::class.java to "I",
|
||||||
@ -397,8 +397,8 @@ internal class AsmBuilder<T> internal constructor(
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
private val NUMBER_CONVERTER_METHODS by lazy {
|
private val NUMBER_CONVERTER_METHODS: Map<String, String> by lazy {
|
||||||
mapOf(
|
hashMapOf(
|
||||||
"B" to "byteValue",
|
"B" to "byteValue",
|
||||||
"S" to "shortValue",
|
"S" to "shortValue",
|
||||||
"I" to "intValue",
|
"I" to "intValue",
|
||||||
|
Loading…
Reference in New Issue
Block a user