Author: swatig0
Date: 2007-08-16 20:45:08 +0000 (Thu, 16 Aug 2007)
New Revision: 14730
Modified:
trunk/plugins/XMLSpider/XMLSpider.java
Log:
Outlinks-inlinks for a page
Modified: trunk/plugins/XMLSpider/XMLSpider.java
===================================================================
--- trunk/plugins/XMLSpider/XMLSpider.java 2007-08-16 20:41:53 UTC (rev
14729)
+++ trunk/plugins/XMLSpider/XMLSpider.java 2007-08-16 20:45:08 UTC (rev
14730)
@@ -180,7 +180,7 @@
visitedURIs.add(uri);
uriIds.put(uri, id);
idUris.put(id, uri);
- id++;
+ id = new Integer(id.intValue()+1);
}
}
@@ -823,7 +823,7 @@
public void runPlugin(PluginRespirator pr){
this.pr = pr;
- this.id = 0;
+ this.id = new Integer(0);
this.core = pr.getNode().clientCore;
this.ctx = core.makeClient((short) 0).getFetchContext();
ctx.maxSplitfileBlockRetries = 10;
@@ -981,12 +981,12 @@
*
*/
public class PageCallBack implements FoundURICallback{
- int id;
+ Integer id;
/*
* id of the page as refrenced in uriIds
*/
PageCallBack(){
- // id = 0;
+ id = new Integer(0);
}
public void foundURI(FreenetURI uri){