Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Tiede2015-02-05 09:40:09 +0000
committerMarkus Tiede2015-02-05 09:40:09 +0000
commit3fa21106b7e6a8274189297364eadfe87633cff3 (patch)
tree98e4689a5229046e21dbfe14dd3d6810ec8fd0e6 /org.eclipse.jubula.rc.swing/src
parent322ba43731e7c19d12443bb3c2b00700377860e0 (diff)
downloadorg.eclipse.jubula.core-3fa21106b7e6a8274189297364eadfe87633cff3.tar.gz
org.eclipse.jubula.core-3fa21106b7e6a8274189297364eadfe87633cff3.tar.xz
org.eclipse.jubula.core-3fa21106b7e6a8274189297364eadfe87633cff3.zip
Non-sprint task - unnecessary casts removed.
Diffstat (limited to 'org.eclipse.jubula.rc.swing/src')
-rw-r--r--org.eclipse.jubula.rc.swing/src/org/eclipse/jubula/rc/swing/components/AUTSwingHierarchy.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/org.eclipse.jubula.rc.swing/src/org/eclipse/jubula/rc/swing/components/AUTSwingHierarchy.java b/org.eclipse.jubula.rc.swing/src/org/eclipse/jubula/rc/swing/components/AUTSwingHierarchy.java
index 94f7f997d..6c27b11a7 100644
--- a/org.eclipse.jubula.rc.swing/src/org/eclipse/jubula/rc/swing/components/AUTSwingHierarchy.java
+++ b/org.eclipse.jubula.rc.swing/src/org/eclipse/jubula/rc/swing/components/AUTSwingHierarchy.java
@@ -734,11 +734,9 @@ public class AUTSwingHierarchy extends AUTHierarchy<Component>
Validate.notNull(component, "The component must not be null"); //$NON-NLS-1$
HierarchyContainer<Component> result = null;
try {
- AUTComponent<Component> compID = (AUTComponent<Component>)
- getRealMap().get(component);
+ AUTComponent<Component> compID = getRealMap().get(component);
if (compID != null) {
- result = (HierarchyContainer<Component>)
- getHierarchyMap().get(compID);
+ result = getHierarchyMap().get(compID);
}
} catch (ClassCastException cce) {
log.error(cce);

Back to the top