jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexparvule...@apache.org
Subject svn commit: r1516743 - /jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/observation/EventFilter.java
Date Fri, 23 Aug 2013 08:29:33 GMT
Author: alexparvulescu
Date: Fri Aug 23 08:29:32 2013
New Revision: 1516743

URL: http://svn.apache.org/r1516743
Log:
OAK-144 Implement observation
 - tweaked the toString method to properly display string arrays

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

Modified: jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/observation/EventFilter.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/observation/EventFilter.java?rev=1516743&r1=1516742&r2=1516743&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/observation/EventFilter.java
(original)
+++ jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/observation/EventFilter.java
Fri Aug 23 08:29:32 2013
@@ -20,6 +20,8 @@ package org.apache.jackrabbit.oak.jcr.ob
 
 import static com.google.common.base.Objects.toStringHelper;
 
+import java.util.Arrays;
+
 import javax.annotation.CheckForNull;
 import javax.jcr.RepositoryException;
 import javax.jcr.nodetype.NoSuchNodeTypeException;
@@ -114,8 +116,8 @@ class EventFilter {
                 .add("types", eventTypes)
                 .add("path", path)
                 .add("deep", deep)
-                .add("uuids", uuids)
-                .add("node types", nodeTypeOakName)
+                .add("uuids", Arrays.toString(uuids))
+                .add("node types", Arrays.toString(nodeTypeOakName))
                 .add("noLocal", noLocal)
             .toString();
     }



Mime
View raw message