Show multiname namespace only when it has single namespace

This commit is contained in:
Jindra Petřík
2024-09-23 20:24:28 +02:00
parent 09b0c3acfb
commit 3b3679e2cc

View File

@@ -720,7 +720,7 @@ public class Multiname {
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]);
}
}