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

Unified Diff: pkg/analysis_server/lib/src/edit/edit_domain.dart

Issue 2865403005: Remove an obsolete error from the spec and an obsolete command-line flag (Closed)
Patch Set: Created 3 years, 7 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/edit/edit_domain.dart
diff --git a/pkg/analysis_server/lib/src/edit/edit_domain.dart b/pkg/analysis_server/lib/src/edit/edit_domain.dart
index 70dd9fb00869d926422feb2841599ff679a6576e..e59fde6da0302ba334aa6caef78ecbf177b259b5 100644
--- a/pkg/analysis_server/lib/src/edit/edit_domain.dart
+++ b/pkg/analysis_server/lib/src/edit/edit_domain.dart
@@ -503,9 +503,6 @@ class EditDomainHandler extends AbstractRequestHandler {
}
Response _getAvailableRefactorings(Request request) {
- if (searchEngine == null) {
- return new Response.noIndexGenerated(request);
- }
_getAvailableRefactoringsImpl(request);
return Response.DELAYED_RESPONSE;
}
@@ -552,9 +549,6 @@ class EditDomainHandler extends AbstractRequestHandler {
}
Response _getRefactoring(Request request) {
- if (searchEngine == null) {
- return new Response.noIndexGenerated(request);
- }
if (refactoringManager.hasPendingRequest) {
refactoringManager.cancel();
_newRefactoringManager();
« no previous file with comments | « pkg/analysis_server/lib/src/domain_completion.dart ('k') | pkg/analysis_server/lib/src/search/search_domain.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698