You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cz...@apache.org on 2015/10/30 08:45:16 UTC

svn commit: r1711418 - /sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/PathSet.java

Author: cziegeler
Date: Fri Oct 30 07:45:16 2015
New Revision: 1711418

URL: http://svn.apache.org/viewvc?rev=1711418&view=rev
Log:
SLING-5220 : Add Path and PathSet

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

Modified: sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/PathSet.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/PathSet.java?rev=1711418&r1=1711417&r2=1711418&view=diff
==============================================================================
--- sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/PathSet.java (original)
+++ sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/PathSet.java Fri Oct 30 07:45:16 2015
@@ -31,6 +31,9 @@ import java.util.Set;
  */
 public class PathSet implements Iterable<Path> {
 
+    /** Empty path set. */
+    public static final PathSet EMPTY_SET = new PathSet(Collections.<Path> emptySet());
+
     /**
      * Create a path set from a collection of path objects
      * @param paths The collection of path objects