Author: j16sdiz
Date: 2008-12-12 02:31:09 +0000 (Fri, 12 Dec 2008)
New Revision: 24226
Modified:
trunk/plugins/XMLSpider/XMLSpider.java
Log:
doh
Modified: trunk/plugins/XMLSpider/XMLSpider.java
===================================================================
--- trunk/plugins/XMLSpider/XMLSpider.java 2008-12-12 01:41:34 UTC (rev
24225)
+++ trunk/plugins/XMLSpider/XMLSpider.java 2008-12-12 02:31:09 UTC (rev
24226)
@@ -561,7 +561,7 @@
indices = new Vector<String>();
int prefix = (int)(( Math.log(tMap.size()) -
Math.log(MAX_ENTRIES) ) / Math.log(16));
- if (prefix == 0) prefix = 1;
+ if (prefix <= 0) prefix = 1;
match = 1;
Vector<String> list = new Vector<String>();
Iterator<String> it = tMap.keySet().iterator();
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs