From cdfaabf1e78cf118e5a73ca12b947ecc8de86169 Mon Sep 17 00:00:00 2001 From: Markus Tiede Date: Mon, 30 Jun 2014 16:06:03 +0200 Subject: Non-sprint taks - minor cleanup: dead code removal. --- .../jubula/rc/swing/tester/adapter/JListAdapter.java | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'org.eclipse.jubula.rc.swing/src') 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; @@ -141,21 +141,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. * -- cgit v1.2.1