final fields

This commit is contained in:
Honfika
2014-01-19 22:33:23 +01:00
parent 44fa394f01
commit 0da9d423a0
138 changed files with 294 additions and 296 deletions
@@ -30,7 +30,7 @@ import java.util.regex.Pattern;
*/
public class AVM2Deobfuscation {
private static Random rnd = new Random();
private static final Random rnd = new Random();
private static final int DEFAULT_FOO_SIZE = 10;
public static final String[] reservedWords = {
@@ -45,8 +45,8 @@ public class AVM2Deobfuscation {
public static final String FOO_CHARACTERS = "bcdfghjklmnpqrstvwz";
public static final String FOO_JOIN_CHARACTERS = "aeiouy";
private ConstantPool constants;
private Map<String, Integer> usageTypesCount = new HashMap<>();
private final ConstantPool constants;
private final Map<String, Integer> usageTypesCount = new HashMap<>();
public AVM2Deobfuscation(ConstantPool constants) {
this.constants = constants;