jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r1022410 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/ItemManager.java
Date Thu, 14 Oct 2010 08:11:54 GMT
Author: stefan
Date: Thu Oct 14 08:11:54 2010
New Revision: 1022410

URL: http://svn.apache.org/viewvc?rev=1022410&view=rev
Log:
JCR-2783: ItemStateManager.toString() causes StackOverflowError

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/ItemManager.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/ItemManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/ItemManager.java?rev=1022410&r1=1022409&r2=1022410&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/ItemManager.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/ItemManager.java
Thu Oct 14 08:11:54 2010
@@ -113,7 +113,6 @@ public class ItemManager implements Item
      * Creates a new per-session instance <code>ItemManager</code> instance.
      *
      * @param sessionContext component context of the associated session
-     * @param rootNodeDef the definition of the root node
      */
     @SuppressWarnings("unchecked")
     protected ItemManager(SessionContext sessionContext) {
@@ -1004,7 +1003,7 @@ public class ItemManager implements Item
      */
     public synchronized String toString() {
         StringBuilder builder = new StringBuilder();
-        builder.append("ItemManager (" + this + ")\n");
+        builder.append("ItemManager (" + super.toString() + ")\n");
         builder.append("Items in cache:\n");
         synchronized (itemCache) {
             for (ItemId id : itemCache.keySet()) {



Mime
View raw message