Author: j16sdiz
Date: 2008-12-22 12:22:42 +0000 (Mon, 22 Dec 2008)
New Revision: 24739
Modified:
trunk/plugins/XMLLibrarian/XMLLibrarian.java
Log:
getIndex(String) -> searchWord(String)
Modified: trunk/plugins/XMLLibrarian/XMLLibrarian.java
===================================================================
--- trunk/plugins/XMLLibrarian/XMLLibrarian.java 2008-12-22 12:22:25 UTC
(rev 24738)
+++ trunk/plugins/XMLLibrarian/XMLLibrarian.java 2008-12-22 12:22:42 UTC
(rev 24739)
@@ -576,7 +576,7 @@
if (searchWord.length() < 3)
continue; //
xmlspider don't include words length < 3, have to fix this
- Vector<URIWrapper> keyuris =
getIndex(searchWord);
+ Vector<URIWrapper> keyuris =
searchWord(searchWord);
if (hs == null)
hs = new
LinkedHashSet<URIWrapper>(keyuris);
else
@@ -654,10 +654,10 @@
}
}
- /*
- * gets the index for the given word
+ /**
+ * Search for a word
*/
- private Vector<URIWrapper> getIndex(String word) throws Exception{
+ private Vector<URIWrapper> searchWord(String word) throws Exception{
String subIndex = getSubindex(word);
Vector<URIWrapper> index = getEntry(word,subIndex);
return index;
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs