jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r732678 - /jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/EventFilterImpl.java
Date Thu, 08 Jan 2009 10:41:53 GMT
Author: mreutegg
Date: Thu Jan  8 02:41:52 2009
New Revision: 732678

URL: http://svn.apache.org/viewvc?rev=732678&view=rev
Log:
JCR-1921: EventFilterImpl should implement toString

Modified:
    jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/EventFilterImpl.java

Modified: jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/EventFilterImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/EventFilterImpl.java?rev=732678&r1=732677&r2=732678&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/EventFilterImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/EventFilterImpl.java
Thu Jan  8 02:41:52 2009
@@ -176,4 +176,22 @@
     public boolean getNoLocal() {
         return noLocal;
     }
+
+    /**
+     * Returns a string representation of this EventFilter instance.
+     * {@inheritDoc}
+     */
+    public String toString() {
+        return new StringBuffer(getClass().getName())
+            .append("[")
+            .append("eventTypes: ").append(eventTypes).append(", ")
+            .append("absPath: ").append(absPath).append(", ")
+            .append("isDeep: ").append(isDeep).append(", ")
+            .append("uuids: ").append(uuids).append(", ")
+            .append("nodeTypeNames: ").append(nodeTypeNames).append(", ")
+            .append("noLocal: ").append(noLocal)
+            .append("]")
+            .toString();
+    }
+
 }



Mime
View raw message