fix ArrayIndexOutOfBoundsException

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4139 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
fuchsi 17 years ago
parent e2f3268c13
commit 6b00fe0c4e

@ -451,7 +451,7 @@ public final class plasmaSearchEvent {
}
// maybe a secondary search thread is alivem check this
if ((this.secondarySearchThreads != null) && (this.secondarySearchThreads.length != 0)) {
for (int i = 0; i < this.primarySearchThreads.length; i++) {
for (int i = 0; i < this.secondarySearchThreads.length; i++) {
if ((this.secondarySearchThreads[i] != null) && (this.secondarySearchThreads[i].isAlive())) return true;
}
}

Loading…
Cancel
Save