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

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

Issue 725143004: Format and sort analyzer and analysis_server packages. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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/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),];
}
-}
+}
« no previous file with comments | « pkg/analysis_server/lib/src/services/refactoring/naming_conventions.dart ('k') | pkg/analysis_server/lib/stdio_server.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698