From b61992a20f21de66c9121d1740a509bb34a29ca1 Mon Sep 17 00:00:00 2001 From: Graham Date: Sat, 30 Jan 2021 13:18:37 +0000 Subject: [PATCH] Replace Paths.get() with Path.of() Signed-off-by: Graham --- deob/src/main/kotlin/org/openrs2/deob/Deobfuscator.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deob/src/main/kotlin/org/openrs2/deob/Deobfuscator.kt b/deob/src/main/kotlin/org/openrs2/deob/Deobfuscator.kt index 848f247e..44919bec 100644 --- a/deob/src/main/kotlin/org/openrs2/deob/Deobfuscator.kt +++ b/deob/src/main/kotlin/org/openrs2/deob/Deobfuscator.kt @@ -5,7 +5,7 @@ import org.openrs2.decompiler.Decompiler import org.openrs2.deob.ast.AstDeobfuscator import org.openrs2.deob.bytecode.BytecodeDeobfuscator import org.openrs2.deob.util.Module -import java.nio.file.Paths +import java.nio.file.Path import javax.inject.Inject import javax.inject.Singleton @@ -18,8 +18,8 @@ public class Deobfuscator @Inject constructor( public fun run() { logger.info { "Deobfuscating bytecode" } bytecodeDeobfuscator.run( - input = Paths.get("nonfree/lib"), - output = Paths.get("nonfree/var/cache/deob") + input = Path.of("nonfree/lib"), + output = Path.of("nonfree/var/cache/deob") ) logger.info { "Decompiling" }