From 707c6404f969e39530ec7eb307d75ff121823e32 Mon Sep 17 00:00:00 2001 From: Konstantin Shcheglov Date: Fri, 10 Jul 2020 19:13:46 +0000 Subject: [PATCH] Use not deprecated analysis_options_provider library ins analysis server. R=brianwilkerson@google.com Change-Id: I009c28e6e91bec4c4d75fb9452b3794635269b6f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/154122 Reviewed-by: Brian Wilkerson Commit-Queue: Konstantin Shcheglov --- pkg/analysis_server/lib/src/edit/edit_domain.dart | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkg/analysis_server/lib/src/edit/edit_domain.dart b/pkg/analysis_server/lib/src/edit/edit_domain.dart index 0792f83bef88..cc43ce6c7ef0 100644 --- a/pkg/analysis_server/lib/src/edit/edit_domain.dart +++ b/pkg/analysis_server/lib/src/edit/edit_domain.dart @@ -9,7 +9,6 @@ import 'package:analysis_server/plugin/edit/fix/fix_core.dart'; import 'package:analysis_server/protocol/protocol_constants.dart'; import 'package:analysis_server/src/analysis_server.dart'; import 'package:analysis_server/src/collections.dart'; -import 'package:analyzer/src/exception/exception.dart'; import 'package:analysis_server/src/computer/import_elements_computer.dart'; import 'package:analysis_server/src/domain_abstract.dart'; import 'package:analysis_server/src/edit/edit_bulk_fixes.dart' @@ -41,13 +40,13 @@ import 'package:analyzer/dart/element/element.dart'; import 'package:analyzer/error/error.dart' as engine; import 'package:analyzer/exception/exception.dart'; import 'package:analyzer/file_system/file_system.dart'; -// ignore: deprecated_member_use -import 'package:analyzer/source/analysis_options_provider.dart'; import 'package:analyzer/source/line_info.dart'; +import 'package:analyzer/src/analysis_options/analysis_options_provider.dart'; import 'package:analyzer/src/dart/analysis/results.dart' as engine; import 'package:analyzer/src/dart/ast/utilities.dart'; import 'package:analyzer/src/dart/scanner/scanner.dart' as engine; import 'package:analyzer/src/error/codes.dart' as engine; +import 'package:analyzer/src/exception/exception.dart'; import 'package:analyzer/src/generated/engine.dart' as engine; import 'package:analyzer/src/generated/engine.dart'; import 'package:analyzer/src/generated/parser.dart' as engine;