* javax/swing/RepaintManager.java
authorMark Wielaard <mark@klomp.org>
Sat, 12 Jun 2004 13:06:40 +0000 (13:06 +0000)
committerMark Wielaard <mark@gcc.gnu.org>
Sat, 12 Jun 2004 13:06:40 +0000 (13:06 +0000)
       (paintDirtyRegions): Use entrySet(), not values().

From-SVN: r83025

libjava/ChangeLog
libjava/javax/swing/RepaintManager.java

index 51e82229b00c0b9f536943375386c2a54c037258..ba8a32d6e5782d79ac65ad1694834d89f08642c1 100644 (file)
@@ -1,3 +1,8 @@
+2004-06-12  Mark Wielaard  <mark@klomp.org>
+
+       * javax/swing/RepaintManager.java
+       (paintDirtyRegions): Use entrySet(), not values().
+
 2004-06-10  Mark Wielaard  <mark@klomp.org>
 
        * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
index 22986014738653952554c74f3691a319d2b91da4..30b6e19769e118a2f89266025e63b1e24a81c68d 100644 (file)
@@ -438,7 +438,7 @@ public class RepaintManager
     dirtyComponents.clear();
 
     // step 2: paint those roots
-    Iterator i = roots.values().iterator();
+    Iterator i = roots.entrySet().iterator();
     while(i.hasNext())
       {
         Map.Entry ent = (Map.Entry) i.next();