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 a84e05854bb802db03757108dd0a2dd705e2e752..88b07bdf9b1b0181d5672437651b50b303a23cf8 100644 |
--- a/pkg/analysis_server/lib/src/domain_analysis.dart |
+++ b/pkg/analysis_server/lib/src/domain_analysis.dart |
@@ -9,7 +9,6 @@ import 'package:analysis_server/plugin/analysis/analysis_domain.dart'; |
import 'package:analysis_server/src/analysis_server.dart'; |
import 'package:analysis_server/src/computer/computer_hover.dart'; |
import 'package:analysis_server/src/constants.dart'; |
-import 'package:analysis_server/src/context_manager.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'; |
@@ -453,16 +452,4 @@ class AnalysisDomainImpl implements AnalysisDomain { |
} |
} |
} |
- |
- void _subscribeForContext(engine.AnalysisContext context) { |
- for (ResultDescriptor descriptor in controllers.keys) { |
- context.onResultChanged(descriptor).listen((result) { |
- StreamController<engine.ResultChangedEvent> controller = |
- controllers[result.descriptor]; |
- if (controller != null) { |
- controller.add(result); |
- } |
- }); |
- } |
- } |
} |