From 43646bbd9d25ce67d5632de6375fd67deb586135 Mon Sep 17 00:00:00 2001 From: Graham Date: Sat, 7 Mar 2020 10:45:06 +0000 Subject: [PATCH] Format TypedRemapper Signed-off-by: Graham --- deob/src/main/java/dev/openrs2/deob/remap/TypedRemapper.kt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/deob/src/main/java/dev/openrs2/deob/remap/TypedRemapper.kt b/deob/src/main/java/dev/openrs2/deob/remap/TypedRemapper.kt index d4906c5414..185fa5656d 100644 --- a/deob/src/main/java/dev/openrs2/deob/remap/TypedRemapper.kt +++ b/deob/src/main/java/dev/openrs2/deob/remap/TypedRemapper.kt @@ -86,7 +86,11 @@ class TypedRemapper private constructor( } private fun generateName(prefixes: MutableMap, prefix: String): String { - val separator = if (prefix.last().isDigit()) { "_" } else { "" } + val separator = if (prefix.last().isDigit()) { + "_" + } else { + "" + } return prefix + separator + prefixes.merge(prefix, 1, Integer::sum) }