Remove isInterface argument from MethodInsnNode constructors

It's optional.
master
Graham 5 years ago
parent 015de5d39b
commit 2b82451b96
  1. 9
      bundler/src/main/java/dev/openrs2/bundler/transform/PlatformDetectionTransformer.kt

@ -61,8 +61,7 @@ class PlatformDetectionTransformer : Transformer() {
Opcodes.INVOKEVIRTUAL, Opcodes.INVOKEVIRTUAL,
STARTS_WITH.owner, STARTS_WITH.owner,
STARTS_WITH.name, STARTS_WITH.name,
STARTS_WITH.desc, STARTS_WITH.desc
false
) )
) )
list.add(JumpInsnNode(Opcodes.IFEQ, next)) list.add(JumpInsnNode(Opcodes.IFEQ, next))
@ -74,8 +73,7 @@ class PlatformDetectionTransformer : Transformer() {
Opcodes.INVOKEVIRTUAL, Opcodes.INVOKEVIRTUAL,
STARTS_WITH.owner, STARTS_WITH.owner,
STARTS_WITH.name, STARTS_WITH.name,
STARTS_WITH.desc, STARTS_WITH.desc
false
) )
) )
list.add(JumpInsnNode(Opcodes.IFNE, amd64)) list.add(JumpInsnNode(Opcodes.IFNE, amd64))
@ -87,8 +85,7 @@ class PlatformDetectionTransformer : Transformer() {
Opcodes.INVOKEVIRTUAL, Opcodes.INVOKEVIRTUAL,
STARTS_WITH.owner, STARTS_WITH.owner,
STARTS_WITH.name, STARTS_WITH.name,
STARTS_WITH.desc, STARTS_WITH.desc
false
) )
) )
list.add(JumpInsnNode(Opcodes.IFEQ, i386)) list.add(JumpInsnNode(Opcodes.IFEQ, i386))

Loading…
Cancel
Save