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

Unified Diff: pkg/analysis_server/lib/src/services/refactoring/rename_import.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/rename_import.dart
diff --git a/pkg/analysis_server/lib/src/services/refactoring/rename_import.dart b/pkg/analysis_server/lib/src/services/refactoring/rename_import.dart
index 608eb736e25fc5368e06ca674d0d8dbb2216673f..6b73dd9533bac5ec4ee6f4338544bf26da608c06 100644
--- a/pkg/analysis_server/lib/src/services/refactoring/rename_import.dart
+++ b/pkg/analysis_server/lib/src/services/refactoring/rename_import.dart
@@ -82,8 +82,11 @@ class RenameImportRefactoringImpl extends RenameRefactoringImpl {
SimpleIdentifier interpolationIdentifier =
_getInterpolationIdentifier(reference);
if (interpolationIdentifier != null) {
- doSourceChange_addElementEdit(change, reference.element,
- new SourceEdit(interpolationIdentifier.offset,
+ doSourceChange_addElementEdit(
+ change,
+ reference.element,
+ new SourceEdit(
+ interpolationIdentifier.offset,
interpolationIdentifier.length,
'{$newName.${interpolationIdentifier.name}}'));
} else {

Powered by Google App Engine
This is Rietveld 408576698