Index: pkg/analysis_server/lib/src/services/refactoring/move_file.dart |
diff --git a/pkg/analysis_server/lib/src/services/refactoring/move_file.dart b/pkg/analysis_server/lib/src/services/refactoring/move_file.dart |
index 0811b7551d40c4c7a701c506a1db285a86829900..fe1cbe03a31495cbae33a58ddf50605643fef4fd 100644 |
--- a/pkg/analysis_server/lib/src/services/refactoring/move_file.dart |
+++ b/pkg/analysis_server/lib/src/services/refactoring/move_file.dart |
@@ -16,12 +16,11 @@ import 'package:analyzer/src/generated/engine.dart'; |
import 'package:analyzer/src/generated/source.dart'; |
import 'package:path/path.dart' as pathos; |
- |
/** |
* [ExtractLocalRefactoring] implementation. |
*/ |
-class MoveFileRefactoringImpl extends RefactoringImpl implements |
- MoveFileRefactoring { |
+class MoveFileRefactoringImpl extends RefactoringImpl |
+ implements MoveFileRefactoring { |
final pathos.Context pathContext; |
final SearchEngine searchEngine; |
final AnalysisContext context; |
@@ -35,8 +34,8 @@ class MoveFileRefactoringImpl extends RefactoringImpl implements |
String oldLibraryDir; |
String newLibraryDir; |
- MoveFileRefactoringImpl(this.pathContext, this.searchEngine, this.context, |
- this.source) { |
+ MoveFileRefactoringImpl( |
+ this.pathContext, this.searchEngine, this.context, this.source) { |
oldFile = source.fullName; |
} |
@@ -147,9 +146,7 @@ class MoveFileRefactoringImpl extends RefactoringImpl implements |
int uriOffset = element.uriOffset; |
int uriLength = element.uriEnd - uriOffset; |
doSourceChange_addElementEdit( |
- change, |
- library, |
- new SourceEdit(uriOffset, uriLength, "'$newUri'")); |
+ change, library, new SourceEdit(uriOffset, uriLength, "'$newUri'")); |
} |
} |
} |