diff --git a/source/de/anomic/kelondro/kelondroMapObjects.java b/source/de/anomic/kelondro/kelondroMapObjects.java index 593061dfa..37c963d80 100644 --- a/source/de/anomic/kelondro/kelondroMapObjects.java +++ b/source/de/anomic/kelondro/kelondroMapObjects.java @@ -90,6 +90,7 @@ public class kelondroMapObjects extends kelondroObjects { long valuel; double valued; Map map; + this.elementCount = 0; while (it.hasNext()) { mapname = (String) it.next(); map = getMap(mapname); @@ -167,6 +168,7 @@ public class kelondroMapObjects extends kelondroObjects { } } } + this.elementCount = 0; } public synchronized void set(String key, Map newMap) throws IOException {