Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Tiede2014-04-09 07:14:02 -0400
committerMarkus Tiede2014-04-09 07:14:02 -0400
commit565e1f0fac7a644f03883782b56d478be02de87f (patch)
tree5377822dd283e2cc453317fe84b68ffd967fb30b
parent50bc7f6fb2fc04fd6e13dfdf82c447541f5295c5 (diff)
downloadorg.eclipse.jubula.core-565e1f0fac7a644f03883782b56d478be02de87f.tar.gz
org.eclipse.jubula.core-565e1f0fac7a644f03883782b56d478be02de87f.tar.xz
org.eclipse.jubula.core-565e1f0fac7a644f03883782b56d478be02de87f.zip
Non-sprint task - minor cleanup: dead / unused code removal.
-rw-r--r--org.eclipse.jubula.client.ui.rcp/src/org/eclipse/jubula/client/ui/rcp/businessprocess/UINodeBP.java2
-rw-r--r--org.eclipse.jubula.rc.javafx/src/org/eclipse/jubula/rc/javafx/JavaFXAUTServer.java7
-rw-r--r--org.eclipse.jubula.rc.javafx/src/org/eclipse/jubula/rc/javafx/driver/EventFlusher.java53
-rw-r--r--org.eclipse.jubula.rc.javafx/src/org/eclipse/jubula/rc/javafx/driver/MouseMotionTrackerJavaFXImpl.java7
-rw-r--r--org.eclipse.jubula.rc.javafx/src/org/eclipse/jubula/rc/javafx/tester/adapter/ContextMenuAdapter.java8
-rw-r--r--org.eclipse.jubula.rc.javafx/src/org/eclipse/jubula/rc/javafx/tester/adapter/MenuBarItemAdapter.java6
6 files changed, 1 insertions, 82 deletions
diff --git a/org.eclipse.jubula.client.ui.rcp/src/org/eclipse/jubula/client/ui/rcp/businessprocess/UINodeBP.java b/org.eclipse.jubula.client.ui.rcp/src/org/eclipse/jubula/client/ui/rcp/businessprocess/UINodeBP.java
index 51de1cd4b..ba374df3b 100644
--- a/org.eclipse.jubula.client.ui.rcp/src/org/eclipse/jubula/client/ui/rcp/businessprocess/UINodeBP.java
+++ b/org.eclipse.jubula.client.ui.rcp/src/org/eclipse/jubula/client/ui/rcp/businessprocess/UINodeBP.java
@@ -95,7 +95,7 @@ public class UINodeBP {
* the TreeViewer
* @param em
* the entity manager to use for retrieving the node with the
- * given id; bear in mind that if e.g. the entitiy manager is the
+ * given id; bear in mind that if e.g. the entity manager is the
* master session it the object with the given id may be found
* within this entity manager but not in the given viewer, as it
* does not display this element
diff --git a/org.eclipse.jubula.rc.javafx/src/org/eclipse/jubula/rc/javafx/JavaFXAUTServer.java b/org.eclipse.jubula.rc.javafx/src/org/eclipse/jubula/rc/javafx/JavaFXAUTServer.java
index 3dd0a5630..fc23f3d9d 100644
--- a/org.eclipse.jubula.rc.javafx/src/org/eclipse/jubula/rc/javafx/JavaFXAUTServer.java
+++ b/org.eclipse.jubula.rc.javafx/src/org/eclipse/jubula/rc/javafx/JavaFXAUTServer.java
@@ -25,8 +25,6 @@ import org.eclipse.jubula.rc.javafx.listener.CheckListener;
import org.eclipse.jubula.rc.javafx.listener.ComponentHandler;
import org.eclipse.jubula.rc.javafx.listener.MappingListener;
import org.eclipse.jubula.rc.javafx.listener.RecordListener;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
/**
* The AutServer controlling the AUT. <br>
@@ -52,11 +50,6 @@ import org.slf4j.LoggerFactory;
* @created 24.09.2013
*/
public class JavaFXAUTServer extends AUTServer {
-
- /** the logger */
- private static final Logger LOG = LoggerFactory
- .getLogger(JavaFXAUTServer.class);
-
/**
* constructor instantiates the listeners
*/
diff --git a/org.eclipse.jubula.rc.javafx/src/org/eclipse/jubula/rc/javafx/driver/EventFlusher.java b/org.eclipse.jubula.rc.javafx/src/org/eclipse/jubula/rc/javafx/driver/EventFlusher.java
deleted file mode 100644
index 0120d097e..000000000
--- a/org.eclipse.jubula.rc.javafx/src/org/eclipse/jubula/rc/javafx/driver/EventFlusher.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2013 BREDEX GmbH.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * BREDEX GmbH - initial API and implementation and/or initial documentation
- *******************************************************************************/
-package org.eclipse.jubula.rc.javafx.driver;
-
-import java.awt.Robot;
-
-import org.eclipse.jubula.rc.common.logger.AutServerLogger;
-
-/**
- * Could be used to ensure that event occur in the right order but currently
- * only does a Thread.sleep for the given timeout.
- *
- * @author BREDEX GmbH
- * @created 30.10.2013
- */
-public class EventFlusher {
-
- /** the logger */
- private static AutServerLogger log =
- new AutServerLogger(EventFlusher.class);
-
- /** the robot to use */
- private final Robot m_robot;
- /** the flush timeout to use */
- private final Long m_flushTimeout;
- /**
- * indicates whether the default toolkit is compatible to the required
- * toolkit implementation for native event flushing
- */
- private boolean m_isCompatibleToolkit = false;
-
- /**
- * Constructor
- *
- * @param robot
- * the robot
- * @param flushTimeout
- * the flush timeout
- */
- public EventFlusher(Robot robot, long flushTimeout) {
- m_robot = robot;
- m_flushTimeout = new Long(flushTimeout);
-
- }
-}
diff --git a/org.eclipse.jubula.rc.javafx/src/org/eclipse/jubula/rc/javafx/driver/MouseMotionTrackerJavaFXImpl.java b/org.eclipse.jubula.rc.javafx/src/org/eclipse/jubula/rc/javafx/driver/MouseMotionTrackerJavaFXImpl.java
index a022c204c..fe0e54e46 100644
--- a/org.eclipse.jubula.rc.javafx/src/org/eclipse/jubula/rc/javafx/driver/MouseMotionTrackerJavaFXImpl.java
+++ b/org.eclipse.jubula.rc.javafx/src/org/eclipse/jubula/rc/javafx/driver/MouseMotionTrackerJavaFXImpl.java
@@ -14,7 +14,6 @@ import java.awt.MouseInfo;
import java.awt.Point;
import org.eclipse.jubula.rc.common.driver.IMouseMotionTracker;
-import org.eclipse.jubula.rc.common.logger.AutServerLogger;
/**
* Doesn't really track the mouse, because this is not necessary and would cause
@@ -26,12 +25,6 @@ import org.eclipse.jubula.rc.common.logger.AutServerLogger;
*/
public class MouseMotionTrackerJavaFXImpl implements IMouseMotionTracker {
/**
- * The logger.
- */
- private static AutServerLogger log = new AutServerLogger(
- MouseMotionTrackerJavaFXImpl.class);
-
- /**
* Add a new Instance of a Mouse Move tracker to all Stages in the Hierarchy
*/
public MouseMotionTrackerJavaFXImpl() {
diff --git a/org.eclipse.jubula.rc.javafx/src/org/eclipse/jubula/rc/javafx/tester/adapter/ContextMenuAdapter.java b/org.eclipse.jubula.rc.javafx/src/org/eclipse/jubula/rc/javafx/tester/adapter/ContextMenuAdapter.java
index a6af89a31..58011c63c 100644
--- a/org.eclipse.jubula.rc.javafx/src/org/eclipse/jubula/rc/javafx/tester/adapter/ContextMenuAdapter.java
+++ b/org.eclipse.jubula.rc.javafx/src/org/eclipse/jubula/rc/javafx/tester/adapter/ContextMenuAdapter.java
@@ -18,7 +18,6 @@ import javafx.beans.property.ReadOnlyObjectWrapper;
import javafx.scene.control.ContextMenu;
import javafx.scene.control.MenuItem;
-import org.eclipse.jubula.rc.common.logger.AutServerLogger;
import org.eclipse.jubula.rc.common.tester.adapter.interfaces.IMenuComponent;
import org.eclipse.jubula.rc.common.tester.adapter.interfaces.IMenuItemComponent;
import org.eclipse.jubula.rc.javafx.driver.EventThreadQueuerJavaFXImpl;
@@ -31,13 +30,6 @@ import org.eclipse.jubula.rc.javafx.driver.EventThreadQueuerJavaFXImpl;
*/
public class ContextMenuAdapter extends AbstractComponentAdapter<ContextMenu>
implements IMenuComponent {
-
- /**
- * The logging.
- */
- private static AutServerLogger log = new AutServerLogger(
- ContextMenuAdapter.class);
-
/**
* Creates an adapter for a Menu.
*
diff --git a/org.eclipse.jubula.rc.javafx/src/org/eclipse/jubula/rc/javafx/tester/adapter/MenuBarItemAdapter.java b/org.eclipse.jubula.rc.javafx/src/org/eclipse/jubula/rc/javafx/tester/adapter/MenuBarItemAdapter.java
index fe9e4aeb8..f48a6ad62 100644
--- a/org.eclipse.jubula.rc.javafx/src/org/eclipse/jubula/rc/javafx/tester/adapter/MenuBarItemAdapter.java
+++ b/org.eclipse.jubula.rc.javafx/src/org/eclipse/jubula/rc/javafx/tester/adapter/MenuBarItemAdapter.java
@@ -19,7 +19,6 @@ import javafx.scene.control.Menu;
import javafx.scene.control.MenuBar;
import javafx.scene.control.SkinBase;
-import org.eclipse.jubula.rc.common.logger.AutServerLogger;
import org.eclipse.jubula.rc.javafx.driver.EventThreadQueuerJavaFXImpl;
import org.eclipse.jubula.rc.javafx.listener.ComponentHandler;
@@ -31,11 +30,6 @@ import org.eclipse.jubula.rc.javafx.listener.ComponentHandler;
* @created 10.3.2014
*/
public class MenuBarItemAdapter extends MenuItemAdapter<Menu> {
-
- /** The AUT Server logger. */
- private static AutServerLogger log = new AutServerLogger(
- MenuBarItemAdapter.class);
-
/**
* Creates an adapter for a MenuBarItem.
*

Back to the top