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

Unified Diff: pkg/analysis_server/lib/src/search/search_domain.dart

Issue 2963773003: Remove the old index. (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/search/search_domain.dart
diff --git a/pkg/analysis_server/lib/src/search/search_domain.dart b/pkg/analysis_server/lib/src/search/search_domain.dart
index 47778a81690ca8ba937ae4380b8d9ead1e4f4d99..cb7f02fb53e0e3c6d4fdb3a16f0febcf8909d530 100644
--- a/pkg/analysis_server/lib/src/search/search_domain.dart
+++ b/pkg/analysis_server/lib/src/search/search_domain.dart
@@ -9,7 +9,6 @@ import 'package:analysis_server/src/analysis_server.dart';
import 'package:analysis_server/src/protocol_server.dart' as protocol;
import 'package:analysis_server/src/search/element_references.dart';
import 'package:analysis_server/src/search/type_hierarchy.dart';
-import 'package:analysis_server/src/services/index/index.dart';
import 'package:analysis_server/src/services/search/search_engine.dart';
import 'package:analyzer/dart/element/element.dart';
@@ -24,11 +23,6 @@ class SearchDomainHandler implements protocol.RequestHandler {
final AnalysisServer server;
/**
- * The [Index] for this server.
- */
- final Index index;
-
- /**
* The [SearchEngine] for this server.
*/
final SearchEngine searchEngine;
@@ -43,7 +37,6 @@ class SearchDomainHandler implements protocol.RequestHandler {
*/
SearchDomainHandler(AnalysisServer server)
: server = server,
- index = server.index,
searchEngine = server.searchEngine;
Future findElementReferences(protocol.Request request) async {
« no previous file with comments | « pkg/analysis_server/lib/src/analysis_server.dart ('k') | pkg/analysis_server/lib/src/services/index/index.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698