| Index: pkg/analysis_server/lib/src/services/refactoring/rename_local.dart
|
| diff --git a/pkg/analysis_server/lib/src/services/refactoring/rename_local.dart b/pkg/analysis_server/lib/src/services/refactoring/rename_local.dart
|
| index 9579643dfda428a02bfd6145b2fedc2411e2ec5e..2d1b22171778d777a9c378c715cb447ee8e30d9b 100644
|
| --- a/pkg/analysis_server/lib/src/services/refactoring/rename_local.dart
|
| +++ b/pkg/analysis_server/lib/src/services/refactoring/rename_local.dart
|
| @@ -53,10 +53,7 @@ class RenameLocalRefactoringImpl extends RenameRefactoringImpl {
|
| List<Source> librarySources = context.getLibrariesContaining(unitSource);
|
| for (Source librarySource in librarySources) {
|
| _analyzePossibleConflicts_inLibrary(
|
| - result,
|
| - unitSource,
|
| - librarySource,
|
| - element);
|
| + result, unitSource, librarySource, element);
|
| }
|
| }
|
| // done
|
| @@ -161,9 +158,8 @@ class _ConflictValidatorVisitor extends RecursiveAstVisitor {
|
| String nodeName = getElementQualifiedName(nodeElement);
|
| String nameElementSourceName = nodeElement.source.shortName;
|
| String refKind = refactoring.element.kind.displayName;
|
| - String message =
|
| - 'Usage of $nodeKind "$nodeName" declared in '
|
| - '"$nameElementSourceName" will be shadowed by renamed $refKind.';
|
| + String message = 'Usage of $nodeKind "$nodeName" declared in '
|
| + '"$nameElementSourceName" will be shadowed by renamed $refKind.';
|
| result.addError(message, newLocation_fromNode(node));
|
| }
|
| }
|
|
|