Author: stefanegli
Date: Wed Nov  2 08:55:16 2016
New Revision: 1767623

URL: http://svn.apache.org/viewvc?rev=1767623&view=rev
Log:
OAK-5021 : javadoc of withNodeTypeAggregate adjusted with an explicit note that 
adding an empty string includes the own/self node

Modified:
    
jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/observation/filter/OakEventFilter.java

Modified: 
jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/observation/filter/OakEventFilter.java
URL: 
http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/observation/filter/OakEventFilter.java?rev=1767623&r1=1767622&r2=1767623&view=diff
==============================================================================
--- 
jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/observation/filter/OakEventFilter.java
 (original)
+++ 
jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/observation/filter/OakEventFilter.java
 Wed Nov  2 08:55:16 2016
@@ -112,6 +112,8 @@ public abstract class OakEventFilter ext
      *            note that these nodeTypes are not mapped to oak nor validated
      * @param relativeGlobPaths
      *            glob paths that are added to the set of include paths.
+     *            To match the node with the desired node type itself, add 
+     *            an empty String ("") as one of the relativeGlobPaths too.
      *            Note that Oak's NamePathMapper is not applied to these 
relativeGlobPaths.
      * @return this filter with the filter change applied
      */


Reply via email to