commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r1715697 - /commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/multimap/AbstractMultiValuedMap.java
Date Sun, 22 Nov 2015 21:20:04 GMT
Author: tn
Date: Sun Nov 22 21:20:04 2015
New Revision: 1715697

URL: http://svn.apache.org/viewvc?rev=1715697&view=rev
Log:
Use getMap() instead of asMap().

Modified:
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/multimap/AbstractMultiValuedMap.java

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/multimap/AbstractMultiValuedMap.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/multimap/AbstractMultiValuedMap.java?rev=1715697&r1=1715696&r2=1715697&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/multimap/AbstractMultiValuedMap.java
(original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/multimap/AbstractMultiValuedMap.java
Sun Nov 22 21:20:04 2015
@@ -383,12 +383,12 @@ public abstract class AbstractMultiValue
 
     @Override
     public int hashCode() {
-        return asMap().hashCode();
+        return getMap().hashCode();
     }
 
     @Override
     public String toString() {
-        return asMap().toString();
+        return getMap().toString();
     }
 
     // -----------------------------------------------------------------------



Mime
View raw message