jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r416297 - /jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/mem/InMemPersistenceManager.java
Date Thu, 22 Jun 2006 08:43:59 GMT
Author: stefan
Date: Thu Jun 22 01:43:59 2006
New Revision: 416297

URL: http://svn.apache.org/viewvc?rev=416297&view=rev
Log:
fixed bug reported by Tanju Erinmez on the dev list

Modified:
    jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/mem/InMemPersistenceManager.java

Modified: jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/mem/InMemPersistenceManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/mem/InMemPersistenceManager.java?rev=416297&r1=416296&r2=416297&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/mem/InMemPersistenceManager.java
(original)
+++ jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/mem/InMemPersistenceManager.java
Thu Jun 22 01:43:59 2006
@@ -543,7 +543,7 @@
             Serializer.serialize(refs, out);
 
             // store in serialized format in map for better memory efficiency
-            stateStore.put(refs.getId(), out.toByteArray());
+            refsStore.put(refs.getId(), out.toByteArray());
             // there's no need to close a ByteArrayOutputStream
             //out.close();
         } catch (Exception e) {
@@ -562,7 +562,7 @@
         }
 
         // remove node references
-        stateStore.remove(refs.getId());
+        refsStore.remove(refs.getId());
     }
 
     /**



Mime
View raw message