Author: j16sdiz
Date: 2008-12-15 04:20:06 +0000 (Mon, 15 Dec 2008)
New Revision: 24342

Modified:
   trunk/plugins/XMLSpider/XMLSpider.java
Log:
rename produceIndex2()->makeMainIndex(), generateIndex2()->makeSubIndices()

Modified: trunk/plugins/XMLSpider/XMLSpider.java
===================================================================
--- trunk/plugins/XMLSpider/XMLSpider.java      2008-12-15 04:10:52 UTC (rev 
24341)
+++ trunk/plugins/XMLSpider/XMLSpider.java      2008-12-15 04:20:06 UTC (rev 
24342)
@@ -445,7 +445,7 @@
         * @throws IOException
         * @throws NoSuchAlgorithmException
         */
-       private synchronized void produceIndex2() throws 
IOException,NoSuchAlgorithmException {
+       private synchronized void makeMainIndex() throws 
IOException,NoSuchAlgorithmException {
                // Produce the main index file.
 
                if (idsByWord.isEmpty()) {
@@ -568,7 +568,7 @@
         * of the hash code of the words
         * @throws Exception
         */
-       private synchronized void generateIndex2() throws Exception{
+       private synchronized void makeSubIndices() throws Exception{
                Logger.normal(this, "Generating index...");
                //using the tMap generate the xml indices
                if (idsByWord.isEmpty()) {
@@ -1332,9 +1332,9 @@
                                mustWriteIndex = false;
                        }
                time_taken = System.currentTimeMillis();
-               generateIndex2();
+               makeSubIndices();
                if(Logger.shouldLog(Logger.MINOR, this)) Logger.minor(this, 
"Producing top index...");
-               produceIndex2();
+               makeMainIndex();
                time_taken = System.currentTimeMillis() - time_taken;
                tProducedIndex = System.currentTimeMillis();
                if(Logger.shouldLog(Logger.MINOR, this)) Logger.minor(this, 
"Made index, took "+time_taken);

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

Reply via email to