summaryrefslogtreecommitdiff
path: root/java/text
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2006-12-13 20:29:49 +0000
committerTom Tromey <tromey@redhat.com>2006-12-13 20:29:49 +0000
commitf765c5a58eb9d1a38ccccacc10c7f49aab4a706e (patch)
tree16d76d98474adeedb524140dd2b372c4f7fd3b8d /java/text
parentb4c3894835a7fc86f600a84922cb840a39cd160c (diff)
downloadclasspath-f765c5a58eb9d1a38ccccacc10c7f49aab4a706e.tar.gz
* java/security/BasicPermission.java: Remove gcj workaround.
* java/security/cert/X509Certificate.java: Remove gcj workaround. * java/net/ServerSocket.java (ServerSocket): Remove gcj workaround. (getImpl): Likewise. * java/util/TreeMap.java (TreeIterator): Remove gcj workaround. * java/text/AttributedStringIterator.java (getRunLimit): Remove qualifications. (getRunStart): Likewise. * java/awt/AWTKeyStroke.java (removeEldestEntry): Remove gcj workaround. * java/awt/AlphaComposite.java (removeEldestEntry): Remove gcj workaround. * java/awt/geom/GeneralPath.java (WIND_EVEN_ODD, WIND_NON_ZERO, BIG_VALUE): Don't fully qualify. * gnu/javax/sound/midi/alsa/AlsaMidiSequencerDevice.java: Removed imports. * gnu/javax/sound/midi/alsa/AlsaPortDevice.java: Removed import. * gnu/javax/sound/midi/dssi/DSSISynthesizer.java: Removed import. * javax/swing/JComponent.java (firePropertyChange): Removed. * javax/swing/text/InternationalFormatter.java (clone): Uncomment. * javax/swing/text/AbstractDocument.java (addEdit): Remove gcj workaround. (getChange): Likewise.
Diffstat (limited to 'java/text')
-rw-r--r--java/text/AttributedStringIterator.java8
1 files changed, 2 insertions, 6 deletions
diff --git a/java/text/AttributedStringIterator.java b/java/text/AttributedStringIterator.java
index 422876c09..2f970feba 100644
--- a/java/text/AttributedStringIterator.java
+++ b/java/text/AttributedStringIterator.java
@@ -213,9 +213,7 @@ class AttributedStringIterator implements AttributedCharacterIterator
Iterator iterator = attributeSet.iterator();
while (iterator.hasNext())
{
- // Qualified name is a workaround for a gcj 4.0 bug.
- AttributedCharacterIterator.Attribute attributeKey
- = (AttributedCharacterIterator.Attribute) iterator.next();
+ Attribute attributeKey = (Attribute) iterator.next();
Object v1 = runValues.get(attributeKey);
Object v2 = getAttribute(attributeKey, limit + 1);
boolean changed = false;
@@ -298,9 +296,7 @@ class AttributedStringIterator implements AttributedCharacterIterator
Iterator iterator = attributeSet.iterator();
while (iterator.hasNext())
{
- // Qualified name is a workaround for a gcj 4.0 bug.
- AttributedCharacterIterator.Attribute attributeKey
- = (AttributedCharacterIterator.Attribute) iterator.next();
+ Attribute attributeKey = (Attribute) iterator.next();
Object v1 = runValues.get(attributeKey);
Object v2 = getAttribute(attributeKey, prev);
boolean changed = false;