Author: j16sdiz
Date: 2008-12-22 12:22:25 +0000 (Mon, 22 Dec 2008)
New Revision: 24738

Modified:
   trunk/plugins/XMLLibrarian/XMLLibrarian.java
Log:
rename searchStr(String) to getSubindex(String)

Modified: trunk/plugins/XMLLibrarian/XMLLibrarian.java
===================================================================
--- trunk/plugins/XMLLibrarian/XMLLibrarian.java        2008-12-22 12:21:50 UTC 
(rev 24737)
+++ trunk/plugins/XMLLibrarian/XMLLibrarian.java        2008-12-22 12:22:25 UTC 
(rev 24738)
@@ -646,7 +646,7 @@
        private FreenetURI getSubIndex(String word) {
                if(word == null) return null;
                try {
-                       return new FreenetURI(DEFAULT_INDEX_SITE + 
"index_"+searchStr(word)+".xml");
+                       return new FreenetURI(DEFAULT_INDEX_SITE + 
"index_"+getSubindex(word)+".xml");
                } catch (MalformedURLException e) {
                        return null;
                } catch (Exception e) {
@@ -658,7 +658,7 @@
         * gets the index for the given word
         */
        private Vector<URIWrapper> getIndex(String word) throws Exception{
-               String subIndex = searchStr(word);
+               String subIndex = getSubindex(word);
                Vector<URIWrapper> index = getEntry(word,subIndex);
                return index;
        }
@@ -669,7 +669,7 @@
         * @return
         * @throws Exception
         */
-       public String searchStr(String str) throws Exception{
+       public String getSubindex(String str) throws Exception{
                HighLevelSimpleClient hlsc = pr.getHLSimpleClient();
                FreenetURI u = new FreenetURI(DEFAULT_INDEX_SITE + 
DEFAULT_FILE);
                FetchResult res;

_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to