fix for NPE in statistic servlet

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6821 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 15 years ago
parent 64f29f990e
commit 1a6c2f77b4

@ -280,7 +280,7 @@ public class Table implements ObjectIndex, Iterable<Row.Entry> {
private final Map<String, String> memoryStats() {
// returns statistical data about this object
synchronized (table) {
synchronized (this) {
assert table == null || table.size() == index.size() : "table.size() = " + table.size() + ", index.size() = " + index.size();
}
final HashMap<String, String> map = new HashMap<String, String>(8);

Loading…
Cancel
Save