Skip to content

Commit 41ec359

Browse files
committed
JCR-5127: Explicitly link to constants in expanded form in JCR (fix Javadoc)
1 parent 0437544 commit 41ec359

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/JcrConstants.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* constants may not refer to the respective items.
2929
* <p>
3030
* On the other hand, the constants in {@link javax.jcr.nodetype.NodeType},
31-
* {@link javax.jcr.Nodex}, {@link javax.jcr.Property} and {@link javax.jcr.Workspace}
31+
* {@link javax.jcr.Node}, {@link javax.jcr.Property} and {@link javax.jcr.Workspace}
3232
* are more complete (covering <a href="https://s.apache.org/jcr-2.0-javadoc/">JCR 2.0</a>
3333
* as well) and also define names using <i>expanded</i> form, which is immune to session local
3434
* remappings, so it is recommended to use those constants instead whenever possible.
@@ -125,7 +125,7 @@ public interface JcrConstants {
125125
*/
126126
public static final String JCR_MERGEFAILED = "jcr:mergeFailed";
127127
/**
128-
* Use {@link javax.jcr.Property#JCR_MIME_TYPE} whenever <a href="https://s.apache.org/jcr-2.0-spec/3_Repository_Model.html#3.2.6%20Use%20of%20Qualified%20and%20Expanded%20Names">expanded JCR names are supported (e.g. in JCR API method parameters)</a>.
128+
* Use {@link javax.jcr.Property#JCR_MIMETYPE} whenever <a href="https://s.apache.org/jcr-2.0-spec/3_Repository_Model.html#3.2.6%20Use%20of%20Qualified%20and%20Expanded%20Names">expanded JCR names are supported (e.g. in JCR API method parameters)</a>.
129129
*/
130130
public static final String JCR_MIMETYPE = "jcr:mimeType";
131131
/**

0 commit comments

Comments
 (0)