Replace for loop with enhanced for

bzip2
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]; var stores = new boolean[method.maxLocals];
for (var it = method.instructions.iterator(); it.hasNext(); ) { for (AbstractInsnNode insn : method.instructions) {
var insn = it.next();
var opcode = insn.getOpcode(); var opcode = insn.getOpcode();
if (opcode != Opcodes.ISTORE) { if (opcode != Opcodes.ISTORE) {
continue; continue;

Loading…
Cancel
Save