Author: tn Date: Mon Nov 16 23:08:26 2015 New Revision: 1714707 URL: http://svn.apache.org/viewvc?rev=1714707&view=rev Log: Fix size calculation of entrySet in MultiSet.
Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/multiset/AbstractMapMultiSet.java Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/multiset/AbstractMapMultiSet.java URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/multiset/AbstractMapMultiSet.java?rev=1714707&r1=1714706&r2=1714707&view=diff ============================================================================== --- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/multiset/AbstractMapMultiSet.java (original) +++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/multiset/AbstractMapMultiSet.java Mon Nov 16 23:08:26 2015 @@ -558,7 +558,7 @@ public abstract class AbstractMapMultiSe @Override public int size() { - return parent.entrySet.size(); + return parent.map.entrySet().size(); } @Override