Author: j16sdiz
Date: 2008-12-08 13:42:35 +0000 (Mon, 08 Dec 2008)
New Revision: 24129

Modified:
   trunk/plugins/XMLSpider/XMLSpider.java
Log:
comment invalid code

Modified: trunk/plugins/XMLSpider/XMLSpider.java
===================================================================
--- trunk/plugins/XMLSpider/XMLSpider.java      2008-12-08 13:36:06 UTC (rev 
24128)
+++ trunk/plugins/XMLSpider/XMLSpider.java      2008-12-08 13:42:35 UTC (rev 
24129)
@@ -1323,8 +1323,14 @@
 
        public void onFoundEdition(long l, USK key){
                FreenetURI uri = key.getURI();
+               /*-
+                * FIXME this code don't make sense 
+                *  (1) runningFetchesByURI contain SSK, not USK
+                *  (2) onFoundEdition always have the edition set
+                *  
                if(runningFetchesByURI.containsKey(uri)) 
runningFetchesByURI.remove(uri);
                uri = key.getURI().setSuggestedEdition(l);
+                */
                queueURI(uri);
        }
 

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

Reply via email to