Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Herrmann2010-08-12 19:46:04 +0000
committerStephan Herrmann2010-08-12 19:46:04 +0000
commit347440fb0cc78df5fca98bcabe4fd95a757a535f (patch)
tree8a6cb124abbd941a400a3c6feec7618587729ae9 /testplugins/org.eclipse.objectteams.otdt.ui.tests.refactoring
parentd23a21b0090b91664e9797fe55424f2ea44588b1 (diff)
downloadorg.eclipse.objectteams-347440fb0cc78df5fca98bcabe4fd95a757a535f.tar.gz
org.eclipse.objectteams-347440fb0cc78df5fca98bcabe4fd95a757a535f.tar.xz
org.eclipse.objectteams-347440fb0cc78df5fca98bcabe4fd95a757a535f.zip
cleanup
Diffstat (limited to 'testplugins/org.eclipse.objectteams.otdt.ui.tests.refactoring')
-rw-r--r--testplugins/org.eclipse.objectteams.otdt.ui.tests.refactoring/src/org/eclipse/objectteams/otdt/ui/tests/refactoring/pushdown/PushDownTests.java7
1 files changed, 1 insertions, 6 deletions
diff --git a/testplugins/org.eclipse.objectteams.otdt.ui.tests.refactoring/src/org/eclipse/objectteams/otdt/ui/tests/refactoring/pushdown/PushDownTests.java b/testplugins/org.eclipse.objectteams.otdt.ui.tests.refactoring/src/org/eclipse/objectteams/otdt/ui/tests/refactoring/pushdown/PushDownTests.java
index ff7ab3e2f..dfeb4a60d 100644
--- a/testplugins/org.eclipse.objectteams.otdt.ui.tests.refactoring/src/org/eclipse/objectteams/otdt/ui/tests/refactoring/pushdown/PushDownTests.java
+++ b/testplugins/org.eclipse.objectteams.otdt.ui.tests.refactoring/src/org/eclipse/objectteams/otdt/ui/tests/refactoring/pushdown/PushDownTests.java
@@ -27,7 +27,6 @@ import org.eclipse.core.runtime.Assert;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.jdt.core.ICompilationUnit;
import org.eclipse.jdt.core.IField;
-import org.eclipse.jdt.core.IJavaProject;
import org.eclipse.jdt.core.IMember;
import org.eclipse.jdt.core.IMethod;
import org.eclipse.jdt.core.IType;
@@ -46,10 +45,9 @@ import org.eclipse.objectteams.otdt.ui.tests.refactoring.RefactoringTest;
* @author Johannes Gebauer
*
*/
+@SuppressWarnings({ "nls", "restriction" })
public class PushDownTests extends RefactoringTest {
- private static final Class clazz= PushDownTests.class;
-
private static final String REFACTORING_PATH= "PushDown/";
public PushDownTests(String name) {
@@ -128,9 +126,6 @@ public class PushDownTests extends RefactoringTest {
}
private static PushDownRefactoringProcessor createRefactoringProcessor(IMember[] methods) throws JavaModelException {
- IJavaProject project = null;
- if (methods != null && methods.length > 0)
- project = methods[0].getJavaProject();
if (RefactoringAvailabilityTester.isPullUpAvailable(methods)) {
PushDownRefactoringProcessor processor = new PushDownRefactoringProcessor(methods);
new ProcessorBasedRefactoring(processor);

Back to the top