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

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

Issue 969113002: Reformat (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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 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'"));
}
}
}

Powered by Google App Engine
This is Rietveld 408576698