From 9f499029627dbf2f236bcae5eb58f6580661b16f Mon Sep 17 00:00:00 2001 From: Graham Date: Mon, 26 Aug 2019 20:09:02 +0100 Subject: [PATCH] Use ImmutableList in the Deobfuscator class --- deob/src/main/java/dev/openrs2/deob/Deobfuscator.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/deob/src/main/java/dev/openrs2/deob/Deobfuscator.java b/deob/src/main/java/dev/openrs2/deob/Deobfuscator.java index 437f4d9b28..6875d6fcab 100644 --- a/deob/src/main/java/dev/openrs2/deob/Deobfuscator.java +++ b/deob/src/main/java/dev/openrs2/deob/Deobfuscator.java @@ -4,7 +4,6 @@ import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; -import java.util.List; import com.google.common.collect.ImmutableList; import dev.openrs2.asm.classpath.ClassPath; @@ -31,7 +30,7 @@ import org.slf4j.LoggerFactory; public final class Deobfuscator { private static final Logger logger = LoggerFactory.getLogger(Deobfuscator.class); - private static final List TRANSFORMERS = List.of( + private static final ImmutableList TRANSFORMERS = ImmutableList.of( new HostCheckTransformer(), new RightClickTransformer(), new OpaquePredicateTransformer(),