Index: pkg/analysis_server/lib/src/socket_server.dart |
diff --git a/pkg/analysis_server/lib/src/socket_server.dart b/pkg/analysis_server/lib/src/socket_server.dart |
index 9c0a8093ea1402f412929565f4d01244d704e877..c3f3facffb96b0d5b05ec22b1c65afbde8f216c3 100644 |
--- a/pkg/analysis_server/lib/src/socket_server.dart |
+++ b/pkg/analysis_server/lib/src/socket_server.dart |
@@ -9,8 +9,6 @@ import 'package:analysis_server/src/analysis_server.dart'; |
import 'package:analysis_server/src/channel/channel.dart'; |
import 'package:analysis_server/src/plugin/server_plugin.dart'; |
import 'package:analysis_server/src/services/index/index.dart'; |
-import 'package:analysis_server/src/services/index/local_file_index.dart'; |
-import 'package:analysis_server/src/services/index2/index2.dart'; |
import 'package:analyzer/file_system/physical_file_system.dart'; |
import 'package:analyzer/instrumentation/instrumentation.dart'; |
import 'package:analyzer/plugin/embedded_resolver_provider.dart'; |
@@ -88,19 +86,14 @@ class SocketServer { |
Index index = null; |
if (!analysisServerOptions.noIndex) { |
- index = createLocalFileIndex(); |
- index.contributors = serverPlugin.indexContributors; |
- index.run(); |
+ index = createMemoryIndex(); |
} |
- Index2 index2 = createMemoryIndex2(); |
- |
analysisServer = new AnalysisServer( |
serverChannel, |
resourceProvider, |
new PubPackageMapProvider(resourceProvider, defaultSdk), |
index, |
- index2, |
serverPlugin, |
analysisServerOptions, |
defaultSdkCreator, |