You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2010/10/19 18:08:16 UTC
svn commit: r1024303 -
/wicket/trunk/wicket/src/main/java/org/apache/wicket/pageStore/AsynchronousDataStore.java
Author: mgrigorov
Date: Tue Oct 19 16:08:16 2010
New Revision: 1024303
URL: http://svn.apache.org/viewvc?rev=1024303&view=rev
Log:
Fix the code that removes AsynchronousDataStore.Entry
Modified:
wicket/trunk/wicket/src/main/java/org/apache/wicket/pageStore/AsynchronousDataStore.java
Modified: wicket/trunk/wicket/src/main/java/org/apache/wicket/pageStore/AsynchronousDataStore.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket/src/main/java/org/apache/wicket/pageStore/AsynchronousDataStore.java?rev=1024303&r1=1024302&r2=1024303&view=diff
==============================================================================
--- wicket/trunk/wicket/src/main/java/org/apache/wicket/pageStore/AsynchronousDataStore.java (original)
+++ wicket/trunk/wicket/src/main/java/org/apache/wicket/pageStore/AsynchronousDataStore.java Tue Oct 19 16:08:16 2010
@@ -131,13 +131,13 @@ public class AsynchronousDataStore imple
String key = getKey(sessionId, id);
if (key != null)
{
- entryMap.remove(key);
- }
- Entry entry = entryMap.get(key);
- if (entry != null)
- {
- entries.remove(entry);
+ Entry entry = entryMap.remove(key);
+ if (entry != null)
+ {
+ entries.remove(entry);
+ }
}
+
}
dataStore.removeData(sessionId, id);
}