You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by kn...@apache.org on 2008/02/29 17:08:10 UTC

svn commit: r632370 - /wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/pagestore/SerializedPagesCache.java

Author: knopp
Date: Fri Feb 29 08:08:06 2008
New Revision: 632370

URL: http://svn.apache.org/viewvc?rev=632370&view=rev
Log:
WICKET-1365

Modified:
    wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/pagestore/SerializedPagesCache.java

Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/pagestore/SerializedPagesCache.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/pagestore/SerializedPagesCache.java?rev=632370&r1=632369&r2=632370&view=diff
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/pagestore/SerializedPagesCache.java (original)
+++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/pagestore/SerializedPagesCache.java Fri Feb 29 08:08:06 2008
@@ -94,7 +94,7 @@
 
 				if (result != null)
 				{
-					cache.add(result);
+					cache.add(new SoftReference(result));
 				}
 			}
 		}