diff --git a/src/main/java/org/apache/commons/collections4/multiset/AbstractMapMultiSet.java b/src/main/java/org/apache/commons/collections4/multiset/AbstractMapMultiSet.java index f8282ac1f..c6ca6b201 100644 --- a/src/main/java/org/apache/commons/collections4/multiset/AbstractMapMultiSet.java +++ b/src/main/java/org/apache/commons/collections4/multiset/AbstractMapMultiSet.java @@ -558,7 +558,7 @@ public abstract class AbstractMapMultiSet extends AbstractCollection imple @Override public int size() { - return parent.entrySet.size(); + return parent.map.entrySet().size(); } @Override