You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by mi...@apache.org on 2021/03/30 11:59:24 UTC
svn commit: r1888207 -
/jackrabbit/oak/trunk/oak-doc/src/site/markdown/dos_and_donts.md
Author: miroslav
Date: Tue Mar 30 11:59:23 2021
New Revision: 1888207
URL: http://svn.apache.org/viewvc?rev=1888207&view=rev
Log:
OAK-9332 typo in the comments
Modified:
jackrabbit/oak/trunk/oak-doc/src/site/markdown/dos_and_donts.md
Modified: jackrabbit/oak/trunk/oak-doc/src/site/markdown/dos_and_donts.md
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-doc/src/site/markdown/dos_and_donts.md?rev=1888207&r1=1888206&r2=1888207&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-doc/src/site/markdown/dos_and_donts.md (original)
+++ jackrabbit/oak/trunk/oak-doc/src/site/markdown/dos_and_donts.md Tue Mar 30 11:59:23 2021
@@ -108,11 +108,11 @@ where this is not needed when using Node
Node c = session.getNode("/a/b/c");
Node d = null;
-// get child node
+// get the child node
d = session.getNode("/a/b/c/d");
d = c.getNode("d"); // preferred way to fetch the child node
-// get parent node
+// get the parent node
c = session.getNode("/a/b/c");
c = d.getParent(); // preferred way to fetch the parent node
```
\ No newline at end of file