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

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

Issue 1310263003: Reformat code to minimize churn (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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/socket_server.dart
diff --git a/pkg/analysis_server/lib/src/socket_server.dart b/pkg/analysis_server/lib/src/socket_server.dart
index d5abd12a33733847bc0faf77001b55feb6deaf66..c5c214cd68827654c36c536a664415f06a33d3d9 100644
--- a/pkg/analysis_server/lib/src/socket_server.dart
+++ b/pkg/analysis_server/lib/src/socket_server.dart
@@ -43,8 +43,12 @@ class SocketServer {
*/
List<Plugin> userDefinedPlugins;
- SocketServer(this.analysisServerOptions, this.defaultSdk,
- this.instrumentationService, this.serverPlugin, this.contextManager,
+ SocketServer(
+ this.analysisServerOptions,
+ this.defaultSdk,
+ this.instrumentationService,
+ this.serverPlugin,
+ this.contextManager,
this.packageResolverProvider);
/**
@@ -80,9 +84,15 @@ class SocketServer {
index.run();
}
- analysisServer = new AnalysisServer(serverChannel, resourceProvider,
- new PubPackageMapProvider(resourceProvider, defaultSdk), index,
- serverPlugin, analysisServerOptions, defaultSdk, instrumentationService,
+ analysisServer = new AnalysisServer(
+ serverChannel,
+ resourceProvider,
+ new PubPackageMapProvider(resourceProvider, defaultSdk),
+ index,
+ serverPlugin,
+ analysisServerOptions,
+ defaultSdk,
+ instrumentationService,
contextManager: contextManager,
packageResolverProvider: packageResolverProvider,
rethrowExceptions: false);

Powered by Google App Engine
This is Rietveld 408576698