sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1765334 - in /sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/path: Path.java PathSet.java
Date Mon, 17 Oct 2016 16:28:21 GMT
Author: cziegeler
Date: Mon Oct 17 16:28:21 2016
New Revision: 1765334

URL: http://svn.apache.org/viewvc?rev=1765334&view=rev
Log:
Add toString() to Path and PathSet

Modified:
    sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/path/Path.java
    sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/path/PathSet.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=1765334&r1=1765333&r2=1765334&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 16:28:21 2016
@@ -236,4 +236,8 @@ public class Path implements Comparable<
         return "<([{\\^-=$!|]})?*+.>".indexOf(character) != -1;
     }
 
+    @Override
+    public String toString() {
+        return "Path [path=" + path + "]";
+    }
 }

Modified: sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/path/PathSet.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/path/PathSet.java?rev=1765334&r1=1765333&r2=1765334&view=diff
==============================================================================
--- sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/path/PathSet.java
(original)
+++ sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/path/PathSet.java
Mon Oct 17 16:28:21 2016
@@ -200,4 +200,9 @@ public class PathSet implements Iterable
         }
         return this.paths.equals(((PathSet)obj).paths);
     }
+
+    @Override
+    public String toString() {
+        return "PathSet [paths=" + paths + "]";
+    }
 }
\ No newline at end of file



Mime
View raw message