code clean-up

@Martin: bitte schaue mal warum die Variablenzuweisung
         in plasmaCrawlNURLImporter war. So wie sie waren, waren sie überflüssig.
         Das hattest du dir bestimmt nicht so gedacht.
         Sollten es ggf. globale Variablen sein?

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1529 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 19 years ago
parent 0bc2aaeb42
commit be77fe1a88

@ -51,13 +51,9 @@
import java.io.File;
import java.io.PrintStream;
import java.util.Date;
import java.util.Vector;
import de.anomic.http.httpHeader;
import de.anomic.plasma.plasmaSwitchboard;
import de.anomic.plasma.dbImport.dbImportManager;
import de.anomic.plasma.dbImport.dbImporter;
import de.anomic.plasma.dbImport.plasmaDbImporter;
import de.anomic.server.serverByteBuffer;
import de.anomic.server.serverDate;
import de.anomic.server.serverObjects;

@ -2,8 +2,6 @@ package de.anomic.plasma.dbImport;
import java.io.File;
import de.anomic.plasma.plasmaSwitchboard;
public interface dbImporter {
// functions to pause and continue importing

@ -91,7 +91,7 @@ public class plasmaCrawlNURLImporter extends AbstractImporter implements
this.log.logInfo("Initializing the source noticeUrlDB");
this.importNurlDB = new plasmaCrawlNURL(this.importPath, this.cacheSize*(3/4));
this.importStartSize = this.importNurlDB.size();
int stackSize = this.importNurlDB.stackSize();
//int stackSize = this.importNurlDB.stackSize();
// init profile DB
this.log.logInfo("Initializing the source profileDB");
@ -192,8 +192,8 @@ public class plasmaCrawlNURLImporter extends AbstractImporter implements
this.log.logInfo("Finished to import stacktype '" + stackTypes[i] + "'");
}
int size = this.importNurlDB.size();
int stackSize = this.importNurlDB.stackSize();
//int size = this.importNurlDB.size();
//int stackSize = this.importNurlDB.stackSize();
// TODO: what todo with nurlDB entries that do not exist in any stack?

Loading…
Cancel
Save