On Wednesday 10 December 2008 07:42, [EMAIL PROTECTED] wrote: > Author: j16sdiz > Date: 2008-12-10 07:42:55 +0000 (Wed, 10 Dec 2008) > New Revision: 24172 > > Modified: > trunk/plugins/XMLSpider/XMLSpider.java > Log: > unused field
We may have had these because we wanted to include that info in the index, but
never got around to writing it?
>
> Modified: trunk/plugins/XMLSpider/XMLSpider.java
> ===================================================================
> --- trunk/plugins/XMLSpider/XMLSpider.java 2008-12-10 07:42:46 UTC (rev
24171)
> +++ trunk/plugins/XMLSpider/XMLSpider.java 2008-12-10 07:42:55 UTC (rev
24172)
> @@ -154,14 +154,7 @@
> private static final String indexTitle= "XMLSpider index";
> private static final String indexOwner = "Freenet";
> private static final String indexOwnerEmail = null;
> - private final HashMap<String, Long> sizeOfURIs = new HashMap<String,
Long>(); /*
> -
>
> * String (URI) ->
> -
>
> * Long
> -
>
> */
> - private final HashMap<String, String> mimeOfURIs = new HashMap<String,
String>(); /*
> -
>
> * String (URI)
> -
>
> * -> String
> -
>
> */
> +
> // private final HashMap lastPositionByURI = new HashMap(); /* String
(URI) -> Integer */ /* Use to determine word position on each uri */
> private final HashMap<Integer, Integer> lastPositionById = new
HashMap<Integer, Integer>();
> // private final HashMap positionsByWordByURI = new HashMap(); /* String
(URI) -> HashMap (String (word) -> Integer[] (Positions)) */
> @@ -317,8 +310,6 @@
>
> Integer id;
> synchronized(this) {
> - sizeOfURIs.put(uri.toString(), new
> Long(data.size()));
> - mimeOfURIs.put(uri.toString(), mimeType);
> id = uriIds.get(uri);
> // inlinks.put(page.id, new Vector());
> // outlinks.put(page.id, new Vector());
>
> _______________________________________________
> cvs mailing list
> [EMAIL PROTECTED]
> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs
>
>
pgpundShWbrCf.pgp
Description: PGP signature
_______________________________________________ Devl mailing list [email protected] http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
