Skip to content

Commit

Permalink
OAK-9332 typo in the comments
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1888208 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Miroslav Smiljanic committed Mar 30, 2021
1 parent 15ff68c commit 7c752e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oak-doc/src/site/markdown/dos_and_donts.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ when receiving an `InterruptedException` while blocked on IO. See [OAK-2609](htt

As explained in [Understanding the node state model](https://jackrabbit.apache.org/oak/docs/architecture/nodestate.html), Oak stores content in a tree hierarchy.
Considering that, when traversing the path to access parent or child nodes, even though being equivalent operations,
it is preferable to use JCR Node API instead of Session API. The reason being is that session API uses an absolute path,
it is preferable to use JCR Node API instead of Session API. The reason behind is that session API uses an absolute path,
and to get to the desired parent or child node, all ancestor nodes will have to be traversed before reaching the target node.
Traversal for each ancestor node includes building the node state and associating it with
TreePermission (check [Permission Evaluation in Detail](https://jackrabbit.apache.org/oak/docs/security/permission/evaluation.html)),
Expand Down

0 comments on commit 7c752e6

Please sign in to comment.