fix for null pointer exception

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3342 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 18 years ago
parent 6256d89883
commit 2d7f7da7ce

@ -611,8 +611,7 @@ public final class yacySeedDB {
while (e.hasMoreElements()) {
try {
seed = (yacySeed) e.nextElement();
if (seed != null) {
addressStr = seed.getAddress();
if ((seed != null) && ((addressStr = seed.getAddress()) != null)) {
if ((pos = addressStr.indexOf(":"))!= -1) {
addressStr = addressStr.substring(0,pos);
}

Loading…
Cancel
Save