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

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

Issue 2957643002: Remove the unused operations queue (Closed)
Patch Set: Created 3 years, 6 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 88b07bdf9b1b0181d5672437651b50b303a23cf8..af09edfa39c51b5a1653d7efb03c8554e1e5171f 100644
--- a/pkg/analysis_server/lib/src/domain_analysis.dart
+++ b/pkg/analysis_server/lib/src/domain_analysis.dart
@@ -12,8 +12,6 @@ import 'package:analysis_server/src/constants.dart';
import 'package:analysis_server/src/domain_abstract.dart';
import 'package:analysis_server/src/domains/analysis/navigation.dart';
import 'package:analysis_server/src/domains/analysis/navigation_dart.dart';
-import 'package:analysis_server/src/operation/operation_analysis.dart'
- show NavigationOperation, OccurrencesOperation;
import 'package:analysis_server/src/plugin/plugin_manager.dart';
import 'package:analysis_server/src/plugin/request_converter.dart';
import 'package:analysis_server/src/plugin/result_merger.dart';
@@ -438,18 +436,4 @@ class AnalysisDomainImpl implements AnalysisDomain {
// event.added.forEach(_subscribeForContext);
// });
}
-
- @override
- void scheduleNotification(
- engine.AnalysisContext context, Source source, AnalysisService service) {
- String file = source.fullName;
- if (server.hasAnalysisSubscription(service, file)) {
- if (service == AnalysisService.NAVIGATION) {
- server.scheduleOperation(new NavigationOperation(context, source));
- }
- if (service == AnalysisService.OCCURRENCES) {
- server.scheduleOperation(new OccurrencesOperation(context, source));
- }
- }
- }
}
« no previous file with comments | « pkg/analysis_server/lib/src/analysis_server.dart ('k') | pkg/analysis_server/lib/src/operation/operation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698