fix for problen when accessing the metadata index. The index was not available for all peers with no RAM table copy.

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6957 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 15 years ago
parent 8e88fa4a62
commit 25024d6ab2

@ -483,7 +483,6 @@ public class Table implements ObjectIndex, Iterable<Row.Entry> {
} }
assert table == null || table.size() == index.size() : "table.size() = " + table.size() + ", index.size() = " + index.size(); assert table == null || table.size() == index.size() : "table.size() = " + table.size() + ", index.size() = " + index.size();
*/ */
if (table == null) return false; // may appear during shutdown
return index.has(key); return index.has(key);
} }

Loading…
Cancel
Save