From 8ed80d9d68fb4c0219563a99f8026d8f8dd67462 Mon Sep 17 00:00:00 2001 From: Thomas Neidhart Date: Mon, 16 Nov 2015 23:08:26 +0000 Subject: [PATCH] Fix size calculation of entrySet in MultiSet. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1714707 13f79535-47bb-0310-9956-ffa450edef68 --- .../commons/collections4/multiset/AbstractMapMultiSet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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