From b0ca5a81174c410cde17d5ec19540c859ce20706 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 22 Oct 2024 09:07:14 -0400 Subject: [PATCH] spelling: effectively Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- .../src/com/jpexs/decompiler/flash/abc/types/Multiname.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/Multiname.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/Multiname.java index 1f7331881..0cc8167eb 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/Multiname.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/types/Multiname.java @@ -978,13 +978,13 @@ public class Multiname { } /** - * Checks if this multiname is effectively a QName. Efectively means that it + * Checks if this multiname is effectively a QName. Effectively means that it * is a QName or QNameA or MULTINAME with only one namespace. * * @param thisCpool This constant pool * @return True if it's effectively a QName */ - private boolean isEfectivelyQname(AVM2ConstantPool thisCpool) { + private boolean isEffectivelyQname(AVM2ConstantPool thisCpool) { return kind == QNAME || kind == QNAMEA || isMULTINAMEwithOneNs(thisCpool); } @@ -997,7 +997,7 @@ public class Multiname { * @return True if this qname effectively equals to other qname */ public boolean qnameEquals(AVM2ConstantPool thisCpool, Multiname other, AVM2ConstantPool otherCpool) { - if (!isEfectivelyQname(thisCpool) || !other.isEfectivelyQname(otherCpool)) { + if (!isEffectivelyQname(thisCpool) || !other.isEffectivelyQname(otherCpool)) { return false; } Namespace otherNs = other.getSingleNamespace(otherCpool);