*) little fix for DHT-Transfer

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1941 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
hydrox 19 years ago
parent 1f4412a146
commit 8b14a0c833

@ -60,9 +60,9 @@ public class plasmaDHTTransfer extends Thread {
private String transferStatusMessage = ""; private String transferStatusMessage = "";
// delivery destination // delivery destination
private static yacySeed [] seeds = null; private yacySeed [] seeds = null;
private static int seedcount = 0; private static int seedcount = 0;
yacySeed seed = null; private yacySeed seed = null;
// word chunk // word chunk
plasmaDHTChunk dhtChunk; plasmaDHTChunk dhtChunk;
@ -89,7 +89,7 @@ public class plasmaDHTTransfer extends Thread {
this.timeout4Transfer = timeout; this.timeout4Transfer = timeout;
this.dhtChunk = dhtChunk; this.dhtChunk = dhtChunk;
this.maxRetry = retries; this.maxRetry = retries;
setSeeds(seeds); this.seeds = seeds;
} }
public void run() { public void run() {
@ -200,10 +200,6 @@ public class plasmaDHTTransfer extends Thread {
} }
} }
private static void setSeeds(yacySeed [] seeds) {
plasmaDHTTransfer.seeds = seeds;
}
public static void setSeedcount(int seedcount) { public static void setSeedcount(int seedcount) {
plasmaDHTTransfer.seedcount = seedcount; plasmaDHTTransfer.seedcount = seedcount;
} }

Loading…
Cancel
Save