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

Unified Diff: pkg/analysis_server/lib/src/services/correction/namespace.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/correction/namespace.dart
diff --git a/pkg/analysis_server/lib/src/services/correction/namespace.dart b/pkg/analysis_server/lib/src/services/correction/namespace.dart
index 305052ad3ef8bffa1d681804ead586b0b24dc691..1ca99ba8c22eaca0f8b38ad940c7f6deb843c218 100644
--- a/pkg/analysis_server/lib/src/services/correction/namespace.dart
+++ b/pkg/analysis_server/lib/src/services/correction/namespace.dart
@@ -57,8 +57,10 @@ ImportElement getImportElement(SimpleIdentifier prefixNode) {
* [element] - the referenced element.
* [importElementsMap] - the cache of [Element]s imported by [ImportElement]s.
*/
-ImportElement internal_getImportElement(LibraryElement libraryElement,
- String prefix, Element element,
+ImportElement internal_getImportElement(
+ LibraryElement libraryElement,
+ String prefix,
+ Element element,
Map<ImportElement, Set<Element>> importElementsMap) {
// validate Element
if (element == null) {

Powered by Google App Engine
This is Rietveld 408576698