aboutsummaryrefslogtreecommitdiff
path: root/libjava/classpath/javax/accessibility/AccessibleRelationSet.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/javax/accessibility/AccessibleRelationSet.java')
-rw-r--r--libjava/classpath/javax/accessibility/AccessibleRelationSet.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/libjava/classpath/javax/accessibility/AccessibleRelationSet.java b/libjava/classpath/javax/accessibility/AccessibleRelationSet.java
index 768c9cd..49161d7 100644
--- a/libjava/classpath/javax/accessibility/AccessibleRelationSet.java
+++ b/libjava/classpath/javax/accessibility/AccessibleRelationSet.java
@@ -168,7 +168,7 @@ public class AccessibleRelationSet
{
int i = relations.size();
while (--i >= 0)
- if (((AccessibleRelation) relations.get(i)).key.equals(key))
+ if ((relations.get(i)).key.equals(key))
return true;
return false;
}
@@ -184,7 +184,7 @@ public class AccessibleRelationSet
int i = relations.size();
while (--i >= 0)
{
- AccessibleRelation r = (AccessibleRelation) relations.get(i);
+ AccessibleRelation r = relations.get(i);
if (r.key.equals(key))
return r;
}