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

Unified Diff: pkg/analysis_server/lib/src/services/completion/imported_reference_contributor.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/completion/imported_reference_contributor.dart
diff --git a/pkg/analysis_server/lib/src/services/completion/imported_reference_contributor.dart b/pkg/analysis_server/lib/src/services/completion/imported_reference_contributor.dart
index b6ea6ec2ad517d711f0114d4525fc3be074a73b9..dac00564df3d4bae49e2d27fa70bd073f4ff60db 100644
--- a/pkg/analysis_server/lib/src/services/completion/imported_reference_contributor.dart
+++ b/pkg/analysis_server/lib/src/services/completion/imported_reference_contributor.dart
@@ -25,7 +25,8 @@ class ImportedReferenceContributor extends DartCompletionContributor {
bool suggestionsComputed;
_ImportedSuggestionBuilder builder;
- ImportedReferenceContributor({this.shouldWaitForLowPrioritySuggestions: false});
+ ImportedReferenceContributor(
+ {this.shouldWaitForLowPrioritySuggestions: false});
@override
bool computeFast(DartCompletionRequest request) {
@@ -40,7 +41,8 @@ class ImportedReferenceContributor extends DartCompletionContributor {
shouldWaitForLowPrioritySuggestions;
// If target is an argument in an argument list
// then suggestions may need to be adjusted
- suggestionsComputed = builder.computeFast(request.target.containingNode);
+ suggestionsComputed =
+ builder.computeFast(request.target.containingNode);
return suggestionsComputed && request.target.argIndex == null;
}
}

Powered by Google App Engine
This is Rietveld 408576698