orbiter 14 years ago
parent bf4ef1513e
commit e753027c43

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

Loading…
Cancel
Save