Author: cziegeler
Date: Mon Oct 17 11:19:53 2016
New Revision: 1765241

URL: http://svn.apache.org/viewvc?rev=1765241&view=rev
Log:
SLING-6161 : Should Path.matches support glob pattern as parameter?

Modified:
    
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/path/Path.java

Modified: 
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/path/Path.java
URL: 
http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/path/Path.java?rev=1765241&r1=1765240&r2=1765241&view=diff
==============================================================================
--- 
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/path/Path.java
 (original)
+++ 
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/path/Path.java
 Mon Oct 17 11:19:53 2016
@@ -90,8 +90,10 @@ public class Path implements Comparable<
     }
 
     /**
-     * Return the path.
+     * Return the path if this {@code Path} object holds a path,
+     * returns the pattern otherwise.
      * @return The path.
+     * @see #isPattern()
      */
     public String getPath() {
         return this.path;


Reply via email to