Author: toad
Date: 2008-12-17 23:19:41 +0000 (Wed, 17 Dec 2008)
New Revision: 24492

Modified:
   branches/db4o/freenet/src/freenet/client/async/SimpleBlockSet.java
Log:
generics


Modified: branches/db4o/freenet/src/freenet/client/async/SimpleBlockSet.java
===================================================================
--- branches/db4o/freenet/src/freenet/client/async/SimpleBlockSet.java  
2008-12-17 23:18:15 UTC (rev 24491)
+++ branches/db4o/freenet/src/freenet/client/async/SimpleBlockSet.java  
2008-12-17 23:19:41 UTC (rev 24492)
@@ -19,7 +19,7 @@
  */
 public class SimpleBlockSet implements BlockSet {
 
-       private final HashMap blocksByKey = new HashMap();
+       private final HashMap<Key, KeyBlock> blocksByKey = new HashMap<Key, 
KeyBlock>();
        
        public synchronized void add(KeyBlock block) {
                blocksByKey.put(block.getKey(), block);

_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to