Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Tiede2015-01-22 11:46:46 +0000
committerMarkus Tiede2015-01-22 11:47:04 +0000
commitc7f23b4ebc811cc5bb0a5ac4f3504a09e487f43e (patch)
tree15a52dcbffdc61fd53f1ee0a54ff6c41ce900710 /org.eclipse.jubula.rc.swing/src
parent1fa20718b48d0da416ca95256056f735265473f3 (diff)
downloadorg.eclipse.jubula.core-c7f23b4ebc811cc5bb0a5ac4f3504a09e487f43e.tar.gz
org.eclipse.jubula.core-c7f23b4ebc811cc5bb0a5ac4f3504a09e487f43e.tar.xz
org.eclipse.jubula.core-c7f23b4ebc811cc5bb0a5ac4f3504a09e487f43e.zip
Non-sprint task - minor refactoring: add generics to org.eclipse.jubula.rc.common.implclasses.tree.AbstractTreeOperationContext<T> - node type added.
Diffstat (limited to 'org.eclipse.jubula.rc.swing/src')
-rw-r--r--org.eclipse.jubula.rc.swing/src/org/eclipse/jubula/rc/swing/tester/util/TreeOperationContext.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/org.eclipse.jubula.rc.swing/src/org/eclipse/jubula/rc/swing/tester/util/TreeOperationContext.java b/org.eclipse.jubula.rc.swing/src/org/eclipse/jubula/rc/swing/tester/util/TreeOperationContext.java
index f36a28e45..ebda6c048 100644
--- a/org.eclipse.jubula.rc.swing/src/org/eclipse/jubula/rc/swing/tester/util/TreeOperationContext.java
+++ b/org.eclipse.jubula.rc.swing/src/org/eclipse/jubula/rc/swing/tester/util/TreeOperationContext.java
@@ -42,8 +42,8 @@ import org.eclipse.jubula.rc.swing.driver.EventThreadQueuerAwtImpl;
* @author BREDEX GmbH
* @created 09.08.2005
*/
-public class TreeOperationContext extends AbstractTreeOperationContext<JTree> {
-
+public class TreeOperationContext
+ extends AbstractTreeOperationContext<JTree, Object> {
/** The AUT Server logger. */
private static AutServerLogger log =
new AutServerLogger(TreeOperationContext.class);
@@ -62,8 +62,9 @@ public class TreeOperationContext extends AbstractTreeOperationContext<JTree> {
JTree tree) {
super(queuer, robot, tree);
- Validate.notNull(tree.getModel());
- m_model = tree.getModel();
+ TreeModel model = tree.getModel();
+ Validate.notNull(model);
+ m_model = model;
}
/**
* {@inheritDoc}

Back to the top