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

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

Issue 139983004: Server code clean-up (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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
« no previous file with comments | « pkg/analysis_server/lib/src/channel.dart ('k') | pkg/analysis_server/lib/src/domain_server.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/src/domain_context.dart
diff --git a/pkg/analysis_server/lib/src/domain_context.dart b/pkg/analysis_server/lib/src/domain_context.dart
index c22fe6f5584b43c18dc344d2c7008da567cb3c2d..6e7c6fc6bc0eca2bdf9fb08ea82365ac67dfe69b 100644
--- a/pkg/analysis_server/lib/src/domain_context.dart
+++ b/pkg/analysis_server/lib/src/domain_context.dart
@@ -4,12 +4,11 @@
library domain.context;
+import 'package:analysis_server/src/analysis_server.dart';
+import 'package:analysis_server/src/protocol.dart';
import 'package:analyzer/src/generated/engine.dart';
import 'package:analyzer/src/generated/source.dart';
-import 'analysis_server.dart';
-import 'protocol.dart';
-
/**
* Instances of the class [ContextDomainHandler] implement a [RequestHandler]
* that handles requests in the context domain.
@@ -118,6 +117,8 @@ class ContextDomainHandler implements RequestHandler {
ChangeSet changeSet = createChangeSet(changesData);
context.applyChanges(changeSet);
+ Response response = new Response(request.id);
+ return response;
}
/**
@@ -136,6 +137,8 @@ class ContextDomainHandler implements RequestHandler {
AnalysisContext context = getAnalysisContext(request);
context.analysisOptions = createAnalysisOptions(request);
+ Response response = new Response(request.id);
+ return response;
}
/**
@@ -175,6 +178,8 @@ class ContextDomainHandler implements RequestHandler {
List<Source> sources = convertToSources(context.sourceFactory, sourcesData);
context.analysisPriorityOrder = sources;
+ Response response = new Response(request.id);
+ return response;
}
/**
« no previous file with comments | « pkg/analysis_server/lib/src/channel.dart ('k') | pkg/analysis_server/lib/src/domain_server.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698