summaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
authormark <mark@138bc75d-0d04-0410-961f-82ee72b054a4>2004-06-12 13:06:40 +0000
committermark <mark@138bc75d-0d04-0410-961f-82ee72b054a4>2004-06-12 13:06:40 +0000
commit1e157ad48f19395b0f8cf25b2ef4ea710aa2ccfd (patch)
treea0ec9f65f5a642c4d6158e2684cb783263d897b5 /libjava
parentb77066d315ccaf58e8914ef4f68e560b2515c5f2 (diff)
downloadgcc-1e157ad48f19395b0f8cf25b2ef4ea710aa2ccfd.tar.gz
* javax/swing/RepaintManager.java
(paintDirtyRegions): Use entrySet(), not values(). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83025 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava')
-rw-r--r--libjava/ChangeLog5
-rw-r--r--libjava/javax/swing/RepaintManager.java2
2 files changed, 6 insertions, 1 deletions
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 <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
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();