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

Unified Diff: pkg/analysis_server/lib/src/domain_analysis.dart

Issue 1307663007: Rename NavigationHolder to NavigationCollector. (Closed) Base URL: git@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/domain_analysis.dart
diff --git a/pkg/analysis_server/lib/src/domain_analysis.dart b/pkg/analysis_server/lib/src/domain_analysis.dart
index 6b2c3775fe6da06d2422b4e5c0796b88d99d56aa..8c6be5146b61c4ddec2c54e150fc93ad25a8a14d 100644
--- a/pkg/analysis_server/lib/src/domain_analysis.dart
+++ b/pkg/analysis_server/lib/src/domain_analysis.dart
@@ -136,14 +136,14 @@ class AnalysisDomainHandler implements RequestHandler {
server.sendResponse(new Response.getNavigationInvalidFile(request));
} else {
CompilationUnitElement unitElement = units.first.element;
- NavigationHolderImpl holder = computeNavigation(
+ NavigationCollectorImpl collector = computeNavigation(
server,
unitElement.context,
unitElement.source,
params.offset,
params.length);
server.sendResponse(new AnalysisGetNavigationResult(
- holder.files, holder.targets, holder.regions)
+ collector.files, collector.targets, collector.regions)
.toResponse(request.id));
}
break;

Powered by Google App Engine
This is Rietveld 408576698