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

Unified Diff: pkg/analysis_server/lib/src/services/search/search_engine_internal.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/search/search_engine_internal.dart
diff --git a/pkg/analysis_server/lib/src/services/search/search_engine_internal.dart b/pkg/analysis_server/lib/src/services/search/search_engine_internal.dart
index be37a9637d7bfaa2d15edf70de168dab8e994d71..6126e140f74a5b340ca5e06a228ff4b42a7ad69d 100644
--- a/pkg/analysis_server/lib/src/services/search/search_engine_internal.dart
+++ b/pkg/analysis_server/lib/src/services/search/search_engine_internal.dart
@@ -207,9 +207,12 @@ class _Requestor {
for (LocationImpl location in locations) {
IndexableObject indexable = location.indexable;
if (indexable is IndexableElement) {
- matches.add(new SearchMatch(kind, indexable.element,
+ matches.add(new SearchMatch(
+ kind,
+ indexable.element,
new SourceRange(location.offset, location.length),
- location.isResolved, location.isQualified));
+ location.isResolved,
+ location.isQualified));
}
}
return matches;

Powered by Google App Engine
This is Rietveld 408576698