Skip to content

Commit

Permalink
Show multiname namespace only when it has single namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
jindrapetrik committed Sep 23, 2024
1 parent 09b0c3a commit 3b3679e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ public String getName(AVM2ConstantPool constants, List<DottedChain> fullyQualifi
if (ns == null) {
NamespaceSet nss = getNamespaceSet(constants);
if (nss != null) {
if (nss.namespaces.length > 0) {
if (nss.namespaces.length == 1) {
ns = constants.getNamespace(nss.namespaces[0]);
}
}
Expand Down

0 comments on commit 3b3679e

Please sign in to comment.