You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by no...@apache.org on 2011/04/06 09:47:36 UTC

svn commit: r1089338 - /pivot/trunk/core/src/org/apache/pivot/collections/HashMap.java

Author: noelgrandin
Date: Wed Apr  6 07:47:35 2011
New Revision: 1089338

URL: http://svn.apache.org/viewvc?rev=1089338&view=rev
Log:
update parameter name in put() method based on input from Greg

Modified:
    pivot/trunk/core/src/org/apache/pivot/collections/HashMap.java

Modified: pivot/trunk/core/src/org/apache/pivot/collections/HashMap.java
URL: http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/collections/HashMap.java?rev=1089338&r1=1089337&r2=1089338&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/collections/HashMap.java (original)
+++ pivot/trunk/core/src/org/apache/pivot/collections/HashMap.java Wed Apr  6 07:47:35 2011
@@ -187,7 +187,7 @@ public class HashMap<K, V> implements Ma
         return put(key, value, true);
     }
 
-    private V put(K key, V value, boolean fireMapListeners) {
+    private V put(K key, V value, boolean notifyListeners) {
         if (key == null) {
             throw new IllegalArgumentException("key cannot be null.");
         }
@@ -208,7 +208,7 @@ public class HashMap<K, V> implements Ma
                 iterator.update(new Pair<K, V>(key, value));
 
                 if (mapListeners != null
-                    && fireMapListeners) {
+                    && notifyListeners) {
                     mapListeners.valueUpdated(this, key, previousValue);
                 }
 
@@ -235,7 +235,7 @@ public class HashMap<K, V> implements Ma
             }
 
             if (mapListeners != null
-                && fireMapListeners) {
+                && notifyListeners) {
                 mapListeners.valueAdded(this, key);
             }
         }