summaryrefslogtreecommitdiff
path: root/src/main/java/cuchaz/enigma/bytecode/MethodParametersAttribute.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/cuchaz/enigma/bytecode/MethodParametersAttribute.java')
-rw-r--r--src/main/java/cuchaz/enigma/bytecode/MethodParametersAttribute.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/cuchaz/enigma/bytecode/MethodParametersAttribute.java b/src/main/java/cuchaz/enigma/bytecode/MethodParametersAttribute.java
index ee7ed87..bace3a0 100644
--- a/src/main/java/cuchaz/enigma/bytecode/MethodParametersAttribute.java
+++ b/src/main/java/cuchaz/enigma/bytecode/MethodParametersAttribute.java
@@ -30,7 +30,7 @@ public class MethodParametersAttribute extends AttributeInfo {
30 30
31 // add the names to the class const pool 31 // add the names to the class const pool
32 ConstPool constPool = info.getConstPool(); 32 ConstPool constPool = info.getConstPool();
33 List<Integer> parameterNameIndices = new ArrayList<Integer>(); 33 List<Integer> parameterNameIndices = new ArrayList<>();
34 for (String name : names) { 34 for (String name : names) {
35 if (name != null) { 35 if (name != null) {
36 parameterNameIndices.add(constPool.addUtf8Info(name)); 36 parameterNameIndices.add(constPool.addUtf8Info(name));