From a99d5973ae5e56f3bebe7b1faa722059d97e1e0d Mon Sep 17 00:00:00 2001 From: Graham Date: Thu, 26 Dec 2019 21:06:45 +0000 Subject: [PATCH] Replace Guice's repeat with Kotlin's --- deob/src/main/java/dev/openrs2/deob/remap/TypedRemapper.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 01d9edce..eea71303 100644 --- a/deob/src/main/java/dev/openrs2/deob/remap/TypedRemapper.kt +++ b/deob/src/main/java/dev/openrs2/deob/remap/TypedRemapper.kt @@ -1,7 +1,6 @@ package dev.openrs2.deob.remap import com.github.michaelbull.logging.InlineLogger -import com.google.common.base.Strings import dev.openrs2.asm.MemberDesc import dev.openrs2.asm.MemberRef import dev.openrs2.asm.classpath.ClassMetadata @@ -158,7 +157,7 @@ class TypedRemapper private constructor( var type = Type.getType(partition.iterator().next().desc) if (type.sort == Type.ARRAY) { - prefix = Strings.repeat("Array", type.dimensions) + prefix = "Array".repeat(type.dimensions) type = type.elementType }