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 a994be0a85f73e884d1ca66e3dc671e93ad48afc..7706851d8e53786472756c1b077fbe61b94d79fb 100644 |
--- a/pkg/analysis_server/lib/src/socket_server.dart |
+++ b/pkg/analysis_server/lib/src/socket_server.dart |
@@ -8,16 +8,16 @@ import 'package:analysis_server/src/analysis_server.dart'; |
import 'package:analysis_server/src/channel/channel.dart'; |
import 'package:analysis_server/src/domain_analysis.dart'; |
import 'package:analysis_server/src/domain_completion.dart'; |
-import 'package:analysis_server/src/edit/edit_domain.dart'; |
-import 'package:analysis_server/src/search/search_domain.dart'; |
+import 'package:analysis_server/src/domain_execution.dart'; |
import 'package:analysis_server/src/domain_server.dart'; |
-import 'package:analyzer/source/pub_package_map_provider.dart'; |
+import 'package:analysis_server/src/edit/edit_domain.dart'; |
import 'package:analysis_server/src/protocol.dart'; |
-import 'package:analyzer/file_system/physical_file_system.dart'; |
-import 'package:analyzer/src/generated/sdk_io.dart'; |
+import 'package:analysis_server/src/search/search_domain.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/domain_execution.dart'; |
+import 'package:analyzer/file_system/physical_file_system.dart'; |
+import 'package:analyzer/source/pub_package_map_provider.dart'; |
+import 'package:analyzer/src/generated/sdk_io.dart'; |
/** |
@@ -54,14 +54,16 @@ class SocketServer { |
void createAnalysisServer(ServerCommunicationChannel serverChannel) { |
if (analysisServer != null) { |
RequestError error = new RequestError( |
- RequestErrorCode.SERVER_ALREADY_STARTED, "Server already started"); |
+ RequestErrorCode.SERVER_ALREADY_STARTED, |
+ "Server already started"); |
serverChannel.sendResponse(new Response('', error: error)); |
serverChannel.listen((Request request) { |
serverChannel.sendResponse(new Response(request.id, error: error)); |
}); |
return; |
} |
- PhysicalResourceProvider resourceProvider = PhysicalResourceProvider.INSTANCE; |
+ PhysicalResourceProvider resourceProvider = |
+ PhysicalResourceProvider.INSTANCE; |
analysisServer = new AnalysisServer( |
serverChannel, |
resourceProvider, |
@@ -82,7 +84,6 @@ class SocketServer { |
new EditDomainHandler(server), |
new SearchDomainHandler(server), |
new CompletionDomainHandler(server), |
- new ExecutionDomainHandler(server), |
- ]; |
+ new ExecutionDomainHandler(server),]; |
} |
-} |
+} |