X-Git-Url: https://git.argeo.org/?a=blobdiff_plain;ds=sidebyside;f=jcr%2Forg.argeo.cms.jcr%2Fsrc%2Forg%2Fargeo%2Fcms%2Fjcr%2Facr%2FJcrContent.java;h=ad90b2df7880fd39b8ea1a7357c4df9d3889142e;hb=55d1a78150b6be0004f6bcb28703bcdd6daf55a1;hp=a7a9ecce0746f85a9e7967112c93b425e46a2b89;hpb=4c7e1885b8bf3c93fa0919ace122e3f289a925ea;p=lgpl%2Fargeo-commons.git diff --git a/jcr/org.argeo.cms.jcr/src/org/argeo/cms/jcr/acr/JcrContent.java b/jcr/org.argeo.cms.jcr/src/org/argeo/cms/jcr/acr/JcrContent.java index a7a9ecce0..ad90b2df7 100644 --- a/jcr/org.argeo.cms.jcr/src/org/argeo/cms/jcr/acr/JcrContent.java +++ b/jcr/org.argeo.cms.jcr/src/org/argeo/cms/jcr/acr/JcrContent.java @@ -291,7 +291,7 @@ public class JcrContent extends AbstractContent { * TYPING */ @Override - public List getTypes() { + public List getContentClasses() { try { // Node node = getJcrNode(); // List res = new ArrayList<>(); @@ -307,7 +307,7 @@ public class JcrContent extends AbstractContent { NodeType primaryType = context.getPrimaryNodeType(); res.add(nodeTypeToQName(primaryType)); - Set secondaryTypes = new TreeSet<>(); + Set secondaryTypes = new TreeSet<>(NamespaceUtils.QNAME_COMPARATOR); for (NodeType mixinType : context.getMixinNodeTypes()) { secondaryTypes.add(nodeTypeToQName(mixinType)); }