From: Mark Wielaard Date: Sat, 12 Jun 2004 13:06:40 +0000 (+0000) Subject: * javax/swing/RepaintManager.java X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ff6ea709cbe6cb3c54184c8f40f1cdbc794f8473;p=gcc.git * javax/swing/RepaintManager.java (paintDirtyRegions): Use entrySet(), not values(). From-SVN: r83025 --- diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 51e82229b00..ba8a32d6e57 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2004-06-12 Mark Wielaard + + * javax/swing/RepaintManager.java + (paintDirtyRegions): Use entrySet(), not values(). + 2004-06-10 Mark Wielaard * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to diff --git a/libjava/javax/swing/RepaintManager.java b/libjava/javax/swing/RepaintManager.java index 22986014738..30b6e19769e 100644 --- a/libjava/javax/swing/RepaintManager.java +++ b/libjava/javax/swing/RepaintManager.java @@ -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();