Merge branch 'master' of git.dolda2000.com:/srv/git/r/jsvc
authorFredrik Tolf <fredrik@dolda2000.com>
Sun, 13 Dec 2009 06:28:10 +0000 (07:28 +0100)
committerFredrik Tolf <fredrik@dolda2000.com>
Sun, 13 Dec 2009 06:28:10 +0000 (07:28 +0100)
src/dolda/jsvc/util/Session.java

index 679a72f..eb17fcf 100644 (file)
@@ -10,7 +10,7 @@ public class Session implements java.io.Serializable {
     private static final SecureRandom prng;
     private static long lastclean = 0;
     private final String id;
-    private final Map<Object, Object> props = new HashMap<Object, Object>();
+    private final Map<Object, Object> props = new IdentityHashMap<Object, Object>();
     private long ctime = System.currentTimeMillis(), atime = ctime, etime = 86400 * 1000;
     private Collection<Listener> ll = new HashSet<Listener>();