git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7390 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
orbiter 2010-12-22 00:04:30 +00:00
parent bf4ef1513e
commit e753027c43

View File

@ -302,13 +302,12 @@ public final class IndexCell<ReferenceType extends Reference> extends AbstractBu
synchronized (failedURLs) {
for (byte[] b: failedURLs.keySet()) try {words.put(b);} catch (RowSpaceExceededException e) {}
}
for (byte[] b: words) {
HandleSet urls;
synchronized (failedURLs) {
urls = failedURLs.remove(b);
synchronized (failedURLs) {
for (byte[] b: words) {
HandleSet urls = failedURLs.remove(b);
if (urls != null) remove(b, urls);
}
remove(b, urls);
}
this.countCache.clear();
}