jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r650903 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/ItemManager.java
Date Wed, 23 Apr 2008 15:21:30 GMT
Author: stefan
Date: Wed Apr 23 08:21:09 2008
New Revision: 650903

URL: http://svn.apache.org/viewvc?rev=650903&view=rev
Log:
fixed broken debug output method

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=650903&r1=650902&r2=650903&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
Wed Apr 23 08:21:09 2008
@@ -894,18 +894,18 @@
             Iterator iter = itemCache.keySet().iterator();
             while (iter.hasNext()) {
                 ItemId id = (ItemId) iter.next();
-                ItemImpl item = (ItemImpl) itemCache.get(id);
+                ItemData item = (ItemData) itemCache.get(id);
                 if (item.isNode()) {
                     ps.print("Node: ");
                 } else {
                     ps.print("Property: ");
                 }
-                if (item.isTransient()) {
+                if (item.getState().isTransient()) {
                     ps.print("transient ");
                 } else {
                     ps.print("          ");
                 }
-                ps.println(id + "\t" + item.safeGetJCRPath() + " (" + item + ")");
+                ps.println(id + "\t" + safeGetJCRPath(id) + " (" + item + ")");
             }
         }
     }



Mime
View raw message