Author: toad
Date: 2008-02-28 19:37:13 +0000 (Thu, 28 Feb 2008)
New Revision: 18226

Modified:
   trunk/plugins/XMLSpider/XMLSpider.java
Log:
22: Doh!

Modified: trunk/plugins/XMLSpider/XMLSpider.java
===================================================================
--- trunk/plugins/XMLSpider/XMLSpider.java      2008-02-28 19:32:43 UTC (rev 
18225)
+++ trunk/plugins/XMLSpider/XMLSpider.java      2008-02-28 19:37:13 UTC (rev 
18226)
@@ -141,7 +141,7 @@
        public Set allowedMIMETypes;
        private static final int MAX_ENTRIES = 2000;
        private static final long MAX_SUBINDEX_UNCOMPRESSED_SIZE = 256*1024;
-       private static int version = 21;
+       private static int version = 22;
        private static final String pluginName = "XML spider "+version;
        /**
         * Gives the allowed fraction of total time spent on generating indices 
with
@@ -1206,16 +1206,6 @@
                        //long time_indexing = System.currentTimeMillis();
 //                     FileWriter outp = new FileWriter("logfile",true);
                        mustWriteIndex = true;
-               
-                       if (tProducedIndex + minTimeBetweenEachIndexRewriting * 
1000 < System.currentTimeMillis()) {
-                               try {
-                                       //if(indexing){
-                                       makeIndex();
-                               } catch (IOException e) {
-                                       Logger.error(this, "Caught " + e + " 
while creating index", e);
-                               }
-
-                       }
                }
        }



Reply via email to