summaryrefslogtreecommitdiff
path: root/libjava/classpath/javax/swing/JTree.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/javax/swing/JTree.java')
-rw-r--r--libjava/classpath/javax/swing/JTree.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/classpath/javax/swing/JTree.java b/libjava/classpath/javax/swing/JTree.java
index 332ec74247d..c0365bc385b 100644
--- a/libjava/classpath/javax/swing/JTree.java
+++ b/libjava/classpath/javax/swing/JTree.java
@@ -3105,7 +3105,7 @@ public class JTree extends JComponent implements Scrollable, Accessible
{
while (toRemove.hasMoreElements())
{
- TreePath current = (TreePath) toRemove.nextElement();
+ TreePath current = toRemove.nextElement();
Enumeration descendants = getDescendantToggledPaths(current);
while (descendants.hasMoreElements())