r26824 - trunk/freenet/src/freenet/support

[email protected] Wed, 15 Apr 2009 06:33:52 +0000
Newsgroups gmane.network.freenet.cvs
Message-ID <[email protected]>
Author: j16sdiz
Date: 2009-04-15 06:33:51 +0000 (Wed, 15 Apr 2009)
New Revision: 26824

Modified:
   trunk/freenet/src/freenet/support/UpdatableSortedLinkedListWithForeignIndex.java
Log:
Generic-related warnings (UpdatableSortedLinkedListWithForeignIndex.java)

Modified: trunk/freenet/src/freenet/support/UpdatableSortedLinkedListWithForeignIndex.java
===================================================================
--- trunk/freenet/src/freenet/support/UpdatableSortedLinkedListWithForeignIndex.java	2009-04-15 06:33:32 UTC (rev 26823)
+++ trunk/freenet/src/freenet/support/UpdatableSortedLinkedListWithForeignIndex.java	2009-04-15 06:33:51 UTC (rev 26824)
@@ -35,7 +35,7 @@
     @Override
 	public synchronized T remove(T item) throws UpdatableSortedLinkedListKilledException {
     	if(killed) throw new UpdatableSortedLinkedListKilledException();
-        map.remove(((IndexableUpdatableSortedLinkedListItem<?>)item).indexValue());
+        map.remove(item.indexValue());
         return super.remove(item);
     }