From d38ca044ecb05eb13ff818ce6b77a54f4001f203 Mon Sep 17 00:00:00 2001 From: Graham Date: Sat, 13 Jan 2024 00:12:56 +0000 Subject: [PATCH] Use Kotlin's emptySet() method Signed-off-by: Graham --- .../openrs2/deob/bytecode/analysis/CopyPropagationAnalyzer.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/deob-bytecode/src/main/kotlin/org/openrs2/deob/bytecode/analysis/CopyPropagationAnalyzer.kt b/deob-bytecode/src/main/kotlin/org/openrs2/deob/bytecode/analysis/CopyPropagationAnalyzer.kt index 4c480997ae..acfecb5206 100644 --- a/deob-bytecode/src/main/kotlin/org/openrs2/deob/bytecode/analysis/CopyPropagationAnalyzer.kt +++ b/deob-bytecode/src/main/kotlin/org/openrs2/deob/bytecode/analysis/CopyPropagationAnalyzer.kt @@ -5,7 +5,6 @@ import org.objectweb.asm.tree.AbstractInsnNode import org.objectweb.asm.tree.IincInsnNode import org.objectweb.asm.tree.MethodNode import org.objectweb.asm.tree.VarInsnNode -import java.util.Collections public class CopyPropagationAnalyzer(owner: String, method: MethodNode) : DataFlowAnalyzer>(owner, method) { @@ -28,7 +27,7 @@ public class CopyPropagationAnalyzer(owner: String, method: MethodNode) : } override fun createEntrySet(): Set { - return Collections.emptySet() + return emptySet() } override fun createInitialSet(): Set {