diff options
Diffstat (limited to 'org.eclipse.jubula.rc.swing')
-rw-r--r-- | org.eclipse.jubula.rc.swing/src/org/eclipse/jubula/rc/swing/tester/adapter/JListAdapter.java | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/org.eclipse.jubula.rc.swing/src/org/eclipse/jubula/rc/swing/tester/adapter/JListAdapter.java b/org.eclipse.jubula.rc.swing/src/org/eclipse/jubula/rc/swing/tester/adapter/JListAdapter.java index 6e99fb2c0..361a68122 100644 --- a/org.eclipse.jubula.rc.swing/src/org/eclipse/jubula/rc/swing/tester/adapter/JListAdapter.java +++ b/org.eclipse.jubula.rc.swing/src/org/eclipse/jubula/rc/swing/tester/adapter/JListAdapter.java @@ -13,6 +13,7 @@ package org.eclipse.jubula.rc.swing.tester.adapter; import java.awt.Component; import java.awt.Dimension; import java.awt.Rectangle; + import javax.swing.JList; import javax.swing.ListCellRenderer; import javax.swing.ListModel; @@ -22,7 +23,6 @@ import org.eclipse.jubula.rc.common.driver.IRunnable; import org.eclipse.jubula.rc.common.exception.StepExecutionException; import org.eclipse.jubula.rc.common.tester.adapter.interfaces.IListComponent; import org.eclipse.jubula.rc.common.util.SelectionUtil; -import org.eclipse.jubula.rc.common.util.MatchUtil; import org.eclipse.jubula.rc.swing.tester.util.TesterUtil; import org.eclipse.jubula.tools.objects.event.EventFactory; import org.eclipse.jubula.tools.objects.event.TestErrorEvent; @@ -142,21 +142,6 @@ public class JListAdapter extends JComponentAdapter implements IListComponent { } /** - * {@inheritDoc} - */ - public boolean containsValue(String value, String operator) { - String[] listValues = getValues(); - for (int i = 0; i < listValues.length; i++) { - boolean contains = MatchUtil.getInstance() - .match(listValues[i], value, operator); - if (contains) { - return contains; - } - } - return false; - } - - /** * Clicks on the index of the passed list. * * @param i |