]> source.dussan.org Git - vaadin-framework.git/commitdiff
Don't use WeakHashMap as it isn't Serializable
authorLeif Åstrand <leif@vaadin.com>
Mon, 19 Dec 2011 11:12:23 +0000 (13:12 +0200)
committerLeif Åstrand <leif@vaadin.com>
Mon, 19 Dec 2011 13:18:57 +0000 (15:18 +0200)
src/com/vaadin/Application.java

index f3cb3a690ecd7e0f10830a4284b08787760b1ba8..dba02ab8457e35d94d7a4efab758643dc2bd1ec3 100644 (file)
@@ -25,7 +25,6 @@ import java.util.Map;
 import java.util.Map.Entry;
 import java.util.Properties;
 import java.util.Set;
-import java.util.WeakHashMap;
 import java.util.logging.Level;
 import java.util.logging.Logger;
 import java.util.regex.Matcher;
@@ -539,7 +538,7 @@ public class Application implements Terminal.ErrorListener, Serializable {
      * Keeps track of the roots that should be remembered when the browser is
      * refreshed.
      */
-    private Map<String, Integer> retainOnRefreshRoots = new WeakHashMap<String, Integer>();
+    private Map<String, Integer> retainOnRefreshRoots = new HashMap<String, Integer>();
 
     /**
      * Keeps track of which roots have been inited.