Author: toad
Date: 2007-06-23 13:04:07 +0000 (Sat, 23 Jun 2007)
New Revision: 13731

Modified:
   trunk/freenet/src/freenet/support/WeakHashSet.java
Log:
Doh

Modified: trunk/freenet/src/freenet/support/WeakHashSet.java
===================================================================
--- trunk/freenet/src/freenet/support/WeakHashSet.java  2007-06-23 10:45:56 UTC 
(rev 13730)
+++ trunk/freenet/src/freenet/support/WeakHashSet.java  2007-06-23 13:04:07 UTC 
(rev 13731)
@@ -7,7 +7,11 @@

 public class WeakHashSet implements Set {

-       private WeakHashMap map;
+       private final WeakHashMap map;
+       
+       public WeakHashSet() {
+               map = new WeakHashMap();
+       }

        public boolean add(Object key) {
                return map.put(key, null) == null;


Reply via email to