From ff6ea709cbe6cb3c54184c8f40f1cdbc794f8473 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Sat, 12 Jun 2004 13:06:40 +0000 Subject: [PATCH] * javax/swing/RepaintManager.java (paintDirtyRegions): Use entrySet(), not values(). From-SVN: r83025 --- libjava/ChangeLog | 5 +++++ libjava/javax/swing/RepaintManager.java | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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(); -- 2.30.2