You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2024/08/10 18:06:00 UTC

[jira] [Created] (JCRVLT-773) Deprecate JcrConstants

Konrad Windszus created JCRVLT-773:
--------------------------------------

             Summary: Deprecate JcrConstants
                 Key: JCRVLT-773
                 URL: https://issues.apache.org/jira/browse/JCRVLT-773
             Project: Jackrabbit FileVault
          Issue Type: Improvement
            Reporter: Konrad Windszus


The class at https://github.com/apache/jackrabbit-filevault/blob/master/vault-core/src/main/java/org/apache/jackrabbit/vault/util/JcrConstants.java is redundant, as it
a) duplicates most constants from https://github.com/apache/jackrabbit/blob/85e5d0cca855a2a4c43972fb2f97042a6b81e7e3/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/JcrConstants.java#L36
b) Using the constants with the expanded names from JCR 2.0 is more stable anyhow: https://javadoc.io/doc/javax.jcr/jcr/latest/constant-values.html (from {{javax.jcr.Node}}, {{javax.jcr.Property}} and {{javax.jcr.nodetype.NodeType}})



--
This message was sent by Atlassian Jira
(v8.20.10#820010)