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 849b9e142cb1993c154d3b57a9093d33b09f3c85..d566340329fb1e96cfdc5eeb9bc62b1b944eb3b1 100644 |
--- a/pkg/analysis_server/lib/src/services/refactoring/move_file.dart |
+++ b/pkg/analysis_server/lib/src/services/refactoring/move_file.dart |
@@ -172,9 +172,11 @@ class MoveFileRefactoringImpl extends RefactoringImpl |
if (uri != null) { |
String oldPrefix = 'package:$oldPackageName/'; |
if (uri.startsWith(oldPrefix)) { |
- doSourceChange_addElementEdit(change, library, new SourceEdit( |
- element.uriOffset + 1, oldPrefix.length, |
- 'package:$newPackageName/')); |
+ doSourceChange_addElementEdit( |
+ change, |
+ library, |
+ new SourceEdit(element.uriOffset + 1, oldPrefix.length, |
+ 'package:$newPackageName/')); |
} |
} |
} |