Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarvin Mueller2014-04-16 13:20:54 +0000
committerMarvin Mueller2014-04-16 13:20:54 +0000
commit34c38e7d5d9bc08ab99813dd19cacbf17e7c82b1 (patch)
tree854888b398d336e3d15893b38cf255fb458e55df /org.eclipse.jubula.rc.swing/src
parent5deadd4d94b5be73a938ffc4d922429e5c3c464b (diff)
downloadorg.eclipse.jubula.core-34c38e7d5d9bc08ab99813dd19cacbf17e7c82b1.tar.gz
org.eclipse.jubula.core-34c38e7d5d9bc08ab99813dd19cacbf17e7c82b1.tar.xz
org.eclipse.jubula.core-34c38e7d5d9bc08ab99813dd19cacbf17e7c82b1.zip
Non-sprint task - removing unused code
Diffstat (limited to 'org.eclipse.jubula.rc.swing/src')
-rw-r--r--org.eclipse.jubula.rc.swing/src/org/eclipse/jubula/rc/swing/driver/RobotAwtImpl.java17
1 files changed, 0 insertions, 17 deletions
diff --git a/org.eclipse.jubula.rc.swing/src/org/eclipse/jubula/rc/swing/driver/RobotAwtImpl.java b/org.eclipse.jubula.rc.swing/src/org/eclipse/jubula/rc/swing/driver/RobotAwtImpl.java
index 9686d98d3..414296f6d 100644
--- a/org.eclipse.jubula.rc.swing/src/org/eclipse/jubula/rc/swing/driver/RobotAwtImpl.java
+++ b/org.eclipse.jubula.rc.swing/src/org/eclipse/jubula/rc/swing/driver/RobotAwtImpl.java
@@ -27,11 +27,7 @@ import java.awt.event.KeyEvent;
import java.awt.event.MouseEvent;
import java.awt.image.BufferedImage;
import java.lang.reflect.InvocationTargetException;
-import java.util.ArrayList;
-import java.util.List;
-
import javax.swing.CellRendererPane;
-import javax.swing.JCheckBox;
import javax.swing.JComponent;
import javax.swing.SwingUtilities;
import javax.swing.UIManager;
@@ -59,8 +55,6 @@ import org.eclipse.jubula.rc.common.exception.StepExecutionException;
import org.eclipse.jubula.rc.common.logger.AutServerLogger;
import org.eclipse.jubula.rc.common.util.LocalScreenshotUtil;
import org.eclipse.jubula.rc.common.util.PointUtil;
-import org.eclipse.jubula.rc.swing.components.SwingHierarchyContainer;
-import org.eclipse.jubula.rc.swing.listener.ComponentHandler;
import org.eclipse.jubula.rc.swing.utils.SwingUtils;
import org.eclipse.jubula.tools.constants.InputConstants;
import org.eclipse.jubula.tools.constants.StringConstants;
@@ -242,17 +236,6 @@ public class RobotAwtImpl implements IRobot {
point = (Point)m_queuer.invokeAndWait("getLocation", runnable); //$NON-NLS-1$
} catch (StepExecutionException e) {
- List allElements = new ArrayList(ComponentHandler.
- getAutHierarchy().getHierarchyMap().values());
- List allCheckBoxes = new ArrayList();
- for (int i = 0; i < allElements.size(); i++) {
- if (((SwingHierarchyContainer)allElements.get(i))
- .getComponentID().getRealComponent()
- instanceof JCheckBox) {
-
- allCheckBoxes.add(allElements.get(i));
- }
- }
exc = e;
retries++;
log.error("getLocation failed - " + retries); //$NON-NLS-1$

Back to the top