Index: pkg/analysis_server/lib/src/services/refactoring/rename_unit_member.dart |
diff --git a/pkg/analysis_server/lib/src/services/refactoring/rename_unit_member.dart b/pkg/analysis_server/lib/src/services/refactoring/rename_unit_member.dart |
index 8ab7de352ea0fe235fa4e04021a5232a60b114aa..4f59af7b0f3acd41326327728403f323aadfee06 100644 |
--- a/pkg/analysis_server/lib/src/services/refactoring/rename_unit_member.dart |
+++ b/pkg/analysis_server/lib/src/services/refactoring/rename_unit_member.dart |
@@ -15,8 +15,8 @@ import 'package:analysis_server/src/services/refactoring/refactoring.dart'; |
import 'package:analysis_server/src/services/refactoring/rename.dart'; |
import 'package:analysis_server/src/services/search/element_visitors.dart'; |
import 'package:analysis_server/src/services/search/search_engine.dart'; |
+import 'package:analyzer/dart/element/element.dart'; |
import 'package:analyzer/src/generated/ast.dart' show Identifier; |
-import 'package:analyzer/src/generated/element.dart'; |
import 'package:analyzer/src/generated/java_core.dart'; |
/** |
@@ -26,7 +26,8 @@ import 'package:analyzer/src/generated/java_core.dart'; |
Future<RefactoringStatus> validateCreateFunction( |
SearchEngine searchEngine, LibraryElement library, String name) { |
return new _RenameUnitMemberValidator.forCreate( |
- searchEngine, library, ElementKind.FUNCTION, name).validate(); |
+ searchEngine, library, ElementKind.FUNCTION, name) |
+ .validate(); |
} |
/** |