summaryrefslogtreecommitdiff
path: root/libjava/classpath/java/text/AttributedStringIterator.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/java/text/AttributedStringIterator.java')
-rw-r--r--libjava/classpath/java/text/AttributedStringIterator.java8
1 files changed, 2 insertions, 6 deletions
diff --git a/libjava/classpath/java/text/AttributedStringIterator.java b/libjava/classpath/java/text/AttributedStringIterator.java
index 422876c0948..2f970feba43 100644
--- a/libjava/classpath/java/text/AttributedStringIterator.java
+++ b/libjava/classpath/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;