Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(408)

Unified Diff: pkg/analysis_server/lib/src/edit/edit_domain.dart

Issue 2983783003: Remove the 'Move File' refactoring. (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/services/refactoring/move_file.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/src/edit/edit_domain.dart
diff --git a/pkg/analysis_server/lib/src/edit/edit_domain.dart b/pkg/analysis_server/lib/src/edit/edit_domain.dart
index 6a734964a053f885b0ae96a61eadfc7f93bf87da..db0555947618d3889b02a1b817db5900ab7928a1 100644
--- a/pkg/analysis_server/lib/src/edit/edit_domain.dart
+++ b/pkg/analysis_server/lib/src/edit/edit_domain.dart
@@ -701,7 +701,6 @@ class _RefactoringManager {
return refactoring is ExtractLocalRefactoring ||
refactoring is ExtractMethodRefactoring ||
refactoring is InlineMethodRefactoring ||
- refactoring is MoveFileRefactoring ||
refactoring is RenameRefactoring;
}
@@ -1051,12 +1050,6 @@ class _RefactoringManager {
inlineRefactoring.inlineAll = inlineOptions.inlineAll;
return new RefactoringStatus();
}
- if (refactoring is MoveFileRefactoring) {
- MoveFileRefactoring moveRefactoring = this.refactoring;
- MoveFileOptions moveOptions = params.options;
- moveRefactoring.newFile = moveOptions.newFile;
- return new RefactoringStatus();
- }
if (refactoring is RenameRefactoring) {
RenameRefactoring renameRefactoring = refactoring;
RenameOptions renameOptions = params.options;
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/services/refactoring/move_file.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698