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

Unified Diff: pkg/analysis_server/lib/src/services/refactoring/move_file.dart

Issue 1310263003: Reformat code to minimize churn (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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
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/'));
}
}
}

Powered by Google App Engine
This is Rietveld 408576698