You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by re...@apache.org on 2024/10/14 09:31:29 UTC

(jackrabbit) branch 2.22 updated (cb489eb3d -> 2e0fb2794)

This is an automated email from the ASF dual-hosted git repository.

reschke pushed a change to branch 2.22
in repository https://gitbox.apache.org/repos/asf/jackrabbit.git


    from cb489eb3d  JCR-5094: webapp: bump htmlunit to 4.4.0  (#212)
     new d4e079864 JCR-5096: JcrConstants: refer to the constants in javax.jcr.Property and javax.jcr.nodetype.NodeType (#214)
     new 2e0fb2794 JCR-5096: JcrConstants: refer to the constants in javax.jcr.Property and javax.jcr.nodetype.NodeType - fix broken Javadoc

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../src/main/java/org/apache/jackrabbit/JcrConstants.java  | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)


(jackrabbit) 02/02: JCR-5096: JcrConstants: refer to the constants in javax.jcr.Property and javax.jcr.nodetype.NodeType - fix broken Javadoc

Posted by re...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

reschke pushed a commit to branch 2.22
in repository https://gitbox.apache.org/repos/asf/jackrabbit.git

commit 2e0fb2794e6a262e051efb104c47316a6d6a96c4
Author: Julian Reschke <ju...@gmx.de>
AuthorDate: Tue Aug 20 08:49:15 2024 +0100

    JCR-5096: JcrConstants: refer to the constants in javax.jcr.Property and javax.jcr.nodetype.NodeType - fix broken Javadoc
---
 .../src/main/java/org/apache/jackrabbit/JcrConstants.java               | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/JcrConstants.java b/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/JcrConstants.java
index d66c1313e..e5160ca6c 100644
--- a/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/JcrConstants.java
+++ b/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/JcrConstants.java
@@ -20,7 +20,7 @@ import javax.jcr.Session;
 
 /**
  * This interface defines some of the item names that are defined in the <a
- * href=https://s.apache.org/jcr-1.0-javadoc/">JCR Specification 1.0</a>, using
+ * href="https://s.apache.org/jcr-1.0-javadoc/">JCR Specification 1.0</a>, using
  * the default prefixes 'jcr', 'nt' and 'mix'.
  * <p>
  * Please note that those prefixes can by redefined by an application using the


(jackrabbit) 01/02: JCR-5096: JcrConstants: refer to the constants in javax.jcr.Property and javax.jcr.nodetype.NodeType (#214)

Posted by re...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

reschke pushed a commit to branch 2.22
in repository https://gitbox.apache.org/repos/asf/jackrabbit.git

commit d4e0798641fa018876dec6013648a585c2b04fd4
Author: Julian Reschke <re...@apache.org>
AuthorDate: Wed Aug 7 15:22:48 2024 +0200

    JCR-5096: JcrConstants: refer to the constants in javax.jcr.Property and javax.jcr.nodetype.NodeType (#214)
---
 .../src/main/java/org/apache/jackrabbit/JcrConstants.java  | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/JcrConstants.java b/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/JcrConstants.java
index 3b15c90d8..d66c1313e 100644
--- a/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/JcrConstants.java
+++ b/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/JcrConstants.java
@@ -19,11 +19,19 @@ package org.apache.jackrabbit;
 import javax.jcr.Session;
 
 /**
- * This Interface defines some of the item names that are defined in the
- * jcr spec 1.0, using the default prefixes 'jcr', 'nt' and 'mix'. Please note
- * that those prefixes can by redefined by an application using the
+ * This interface defines some of the item names that are defined in the <a
+ * href=https://s.apache.org/jcr-1.0-javadoc/">JCR Specification 1.0</a>, using
+ * the default prefixes 'jcr', 'nt' and 'mix'.
+ * <p>
+ * Please note that those prefixes can by redefined by an application using the
  * {@link Session#setNamespacePrefix(String, String)} method. As a result, the
  * constants may not refer to the respective items.
+ * <p>
+ * On the other hand, the constants in {@link javax.jcr.nodetype.NodeType} and
+ * {@link javax.jcr.Property} are more complete (covering
+ * <a href="https://s.apache.org/jcr-2.0-javadoc/">JCR 2.0</a> as well) and also
+ * define names using <i>expanded</i> form, which is immune to session local
+ * remappings.
  */
 public interface JcrConstants {
     /**