On Monday 08 December 2008 13:42, [EMAIL PROTECTED] wrote:
> 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);Ok so the answer is to call getSSK(edition) rather than getURI().setSuggestedEdition(edition). Just queueing the USK is wrong. > + */ > queueURI(uri); > }
pgp0TFnfrDOp9.pgp
Description: PGP signature
_______________________________________________ Devl mailing list [email protected] http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
