Remove isInterface argument from MethodInsnNode constructors

It's optional.
bzip2
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,
STARTS_WITH.owner,
STARTS_WITH.name,
STARTS_WITH.desc,
false
STARTS_WITH.desc
)
)
list.add(JumpInsnNode(Opcodes.IFEQ, next))
@ -74,8 +73,7 @@ class PlatformDetectionTransformer : Transformer() {
Opcodes.INVOKEVIRTUAL,
STARTS_WITH.owner,
STARTS_WITH.name,
STARTS_WITH.desc,
false
STARTS_WITH.desc
)
)
list.add(JumpInsnNode(Opcodes.IFNE, amd64))
@ -87,8 +85,7 @@ class PlatformDetectionTransformer : Transformer() {
Opcodes.INVOKEVIRTUAL,
STARTS_WITH.owner,
STARTS_WITH.name,
STARTS_WITH.desc,
false
STARTS_WITH.desc
)
)
list.add(JumpInsnNode(Opcodes.IFEQ, i386))

Loading…
Cancel
Save