From 7740b13a299e3be0d3285ae020ff5ce33168be09 Mon Sep 17 00:00:00 2001 From: Graham Date: Sat, 30 May 2020 21:36:00 +0100 Subject: [PATCH] Remove unused classAccess argument from getVisibility Signed-off-by: Graham --- .../java/dev/openrs2/deob/transform/VisibilityTransformer.kt | 3 --- 1 file changed, 3 deletions(-) diff --git a/deob/src/main/java/dev/openrs2/deob/transform/VisibilityTransformer.kt b/deob/src/main/java/dev/openrs2/deob/transform/VisibilityTransformer.kt index d0be1eb591..38d827f406 100644 --- a/deob/src/main/java/dev/openrs2/deob/transform/VisibilityTransformer.kt +++ b/deob/src/main/java/dev/openrs2/deob/transform/VisibilityTransformer.kt @@ -54,7 +54,6 @@ class VisibilityTransformer @Inject constructor(private val profile: Profile) : references: Multimap, String>, disjointSet: DisjointSet, member: MemberRef, - classAccess: Int, access: Int ): Int { val method = Type.getType(member.desc).sort == Type.METHOD @@ -119,7 +118,6 @@ class VisibilityTransformer @Inject constructor(private val profile: Profile) : fieldReferences, inheritedFieldSets, MemberRef(clazz, field), - clazz.access, access ) field.access = (access and VISIBILITY_FLAGS.inv()) or visibility @@ -137,7 +135,6 @@ class VisibilityTransformer @Inject constructor(private val profile: Profile) : methodReferences, inheritedMethodSets, MemberRef(clazz, method), - clazz.access, access ) method.access = (access and VISIBILITY_FLAGS.inv()) or visibility