From be77fe1a88e45b4a195c2c882154ee5db9732698 Mon Sep 17 00:00:00 2001 From: orbiter Date: Sat, 4 Feb 2006 15:25:48 +0000 Subject: [PATCH] =?UTF-8?q?code=20clean-up=20@Martin:=20bitte=20schaue=20m?= =?UTF-8?q?al=20warum=20die=20Variablenzuweisung=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20in=20plasmaCrawlNURLImporter=20war.=20So=20wie=20sie=20wa?= =?UTF-8?q?ren,=20waren=20sie=20=C3=BCberfl=C3=BCssig.=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20Das=20hattest=20du=20dir=20bestimmt=20nicht=20so=20?= =?UTF-8?q?gedacht.=20=20=20=20=20=20=20=20=20=20Sollten=20es=20ggf.=20glo?= =?UTF-8?q?bale=20Variablen=20sein=3F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1529 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/IndexImport_p.java | 4 ---- source/de/anomic/plasma/dbImport/dbImporter.java | 2 -- .../de/anomic/plasma/dbImport/plasmaCrawlNURLImporter.java | 6 +++--- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/htroot/IndexImport_p.java b/htroot/IndexImport_p.java index 2be98280d..fdcd914ba 100644 --- a/htroot/IndexImport_p.java +++ b/htroot/IndexImport_p.java @@ -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; diff --git a/source/de/anomic/plasma/dbImport/dbImporter.java b/source/de/anomic/plasma/dbImport/dbImporter.java index 62250350f..5db1062ab 100644 --- a/source/de/anomic/plasma/dbImport/dbImporter.java +++ b/source/de/anomic/plasma/dbImport/dbImporter.java @@ -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 diff --git a/source/de/anomic/plasma/dbImport/plasmaCrawlNURLImporter.java b/source/de/anomic/plasma/dbImport/plasmaCrawlNURLImporter.java index e0048d89f..c16477fb1 100644 --- a/source/de/anomic/plasma/dbImport/plasmaCrawlNURLImporter.java +++ b/source/de/anomic/plasma/dbImport/plasmaCrawlNURLImporter.java @@ -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?