Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1841 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
orbiter committed Mar 7, 2006
1 parent 7cbd995 commit 520b60f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions source/de/anomic/plasma/plasmaCrawlBalancer.java
Expand Up @@ -91,8 +91,10 @@ public int size() {

private int sizeDomainStacks() {
int sum = 0;
Iterator i = domainStacks.values().iterator();
while (i.hasNext()) sum += ((ArrayList) i.next()).size();
if (domainStacks != null) synchronized (domainStacks) {
Iterator i = domainStacks.values().iterator();
while (i.hasNext()) sum += ((ArrayList) i.next()).size();
}
return sum;
}

Expand Down

0 comments on commit 520b60f

Please sign in to comment.