Replace for loop with enhanced for

master
Graham 5 years ago
parent 0823a0253f
commit 6ad99645dc
  1. 4
      deob/src/main/java/dev/openrs2/deob/transform/DummyArgTransformer.java

@ -246,9 +246,7 @@ public final class DummyArgTransformer extends Transformer {
var stores = new boolean[method.maxLocals];
for (var it = method.instructions.iterator(); it.hasNext(); ) {
var insn = it.next();
for (AbstractInsnNode insn : method.instructions) {
var opcode = insn.getOpcode();
if (opcode != Opcodes.ISTORE) {
continue;

Loading…
Cancel
Save