Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/MoveInstanceMethodTests.java')
-rw-r--r--org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/MoveInstanceMethodTests.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/MoveInstanceMethodTests.java b/org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/MoveInstanceMethodTests.java
index 483a84a948..1c6d59d0a8 100644
--- a/org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/MoveInstanceMethodTests.java
+++ b/org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/MoveInstanceMethodTests.java
@@ -105,7 +105,7 @@ public class MoveInstanceMethodTests extends RefactoringTest {
ISourceRange selection= TextRangeUtil.getSelection(selectionCu, startLine, startColumn, endLine, endColumn);
IMethod method= getMethod(selectionCu, selection);
assertNotNull(method);
- MoveInstanceMethodRefactoring ref= MoveInstanceMethodRefactoring.create(method, JavaPreferencesSettings.getCodeGenerationSettings(selectionCu.getJavaProject()));
+ MoveInstanceMethodRefactoring ref= new MoveInstanceMethodRefactoring(new MoveInstanceMethodProcessor(method, JavaPreferencesSettings.getCodeGenerationSettings(selectionCu.getJavaProject())));
RefactoringStatus result= ref.checkInitialConditions(new NullProgressMonitor());
if (!result.isOK())
return;
@@ -169,7 +169,7 @@ public class MoveInstanceMethodTests extends RefactoringTest {
ISourceRange selection= TextRangeUtil.getSelection(selectionCu, startLine, startColumn, endLine, endColumn);
IMethod method= getMethod(selectionCu, selection);
assertNotNull(method);
- MoveInstanceMethodRefactoring ref= MoveInstanceMethodRefactoring.create(method, JavaPreferencesSettings.getCodeGenerationSettings(selectionCu.getJavaProject()));
+ MoveInstanceMethodRefactoring ref= new MoveInstanceMethodRefactoring(new MoveInstanceMethodProcessor(method, JavaPreferencesSettings.getCodeGenerationSettings(selectionCu.getJavaProject())));
assertNotNull("refactoring should be created", ref);
RefactoringStatus preconditionResult= ref.checkInitialConditions(new NullProgressMonitor());
@@ -206,7 +206,7 @@ public class MoveInstanceMethodTests extends RefactoringTest {
ISourceRange selection= TextRangeUtil.getSelection(selectionCu, startLine, startColumn, endLine, endColumn);
IMethod method= getMethod(selectionCu, selection);
assertNotNull(method);
- MoveInstanceMethodRefactoring ref= MoveInstanceMethodRefactoring.create(method, JavaPreferencesSettings.getCodeGenerationSettings(selectionCu.getJavaProject()));
+ MoveInstanceMethodRefactoring ref= new MoveInstanceMethodRefactoring(new MoveInstanceMethodProcessor(method, JavaPreferencesSettings.getCodeGenerationSettings(selectionCu.getJavaProject())));
assertNotNull("refactoring should be created", ref);
RefactoringStatus preconditionResult= ref.checkInitialConditions(new NullProgressMonitor());

Back to the top