On Wednesday 10 December 2008 07:42, j16sdiz at freenetproject.org 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
> cvs at freenetproject.org
> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL:
<https://emu.freenetproject.org/pipermail/devl/attachments/20081210/12fed2d2/attachment.pgp>