diff --git a/asm/src/main/java/dev/openrs2/asm/MemberDesc.java b/asm/src/main/java/dev/openrs2/asm/MemberDesc.java index 0ac941aa22..82c641fa11 100644 --- a/asm/src/main/java/dev/openrs2/asm/MemberDesc.java +++ b/asm/src/main/java/dev/openrs2/asm/MemberDesc.java @@ -26,9 +26,9 @@ public final class MemberDesc { if (o == null || getClass() != o.getClass()) { return false; } - MemberDesc fieldRef = (MemberDesc) o; - return name.equals(fieldRef.name) && - desc.equals(fieldRef.desc); + var memberDesc = (MemberDesc) o; + return name.equals(memberDesc.name) && + desc.equals(memberDesc.desc); } @Override diff --git a/asm/src/main/java/dev/openrs2/asm/MemberRef.java b/asm/src/main/java/dev/openrs2/asm/MemberRef.java index 3bff555972..d5005f5bd0 100644 --- a/asm/src/main/java/dev/openrs2/asm/MemberRef.java +++ b/asm/src/main/java/dev/openrs2/asm/MemberRef.java @@ -35,10 +35,10 @@ public final class MemberRef { if (o == null || getClass() != o.getClass()) { return false; } - MemberRef fieldRef = (MemberRef) o; - return owner.equals(fieldRef.owner) && - name.equals(fieldRef.name) && - desc.equals(fieldRef.desc); + var memberRef = (MemberRef) o; + return owner.equals(memberRef.owner) && + name.equals(memberRef.name) && + desc.equals(memberRef.desc); } @Override