jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1615997 - /jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/observation/ListenerTracker.java
Date Tue, 05 Aug 2014 20:48:41 GMT
Author: mduerig
Date: Tue Aug  5 20:48:41 2014
New Revision: 1615997

URL: http://svn.apache.org/r1615997
Log:
JCR-3801: Improve ListenerTracker output

Modified:
    jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/observation/ListenerTracker.java

Modified: jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/observation/ListenerTracker.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/observation/ListenerTracker.java?rev=1615997&r1=1615996&r2=1615997&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/observation/ListenerTracker.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/observation/ListenerTracker.java
Tue Aug  5 20:48:41 2014
@@ -152,6 +152,11 @@ public class ListenerTracker {
                     eventDeliveryTime.addAndGet(nanoTime() - start);
                 }
             }
+
+            @Override
+            public String toString() {
+                return ListenerTracker.this.toString();
+            }
         };
     }
 
@@ -276,7 +281,8 @@ public class ListenerTracker {
         if (noLocal) {
             builder.append(", no local");
         }
-        builder.append(']');
+        builder.append("]@");
+        builder.append(listener.getClass().getName());
         return builder.toString();
     }
 



Mime
View raw message