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

Unified Diff: pkg/analysis_server/lib/src/services/refactoring/extract_method.dart

Issue 1131423002: Clean up many generated constructors (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Comment change Created 5 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/services/refactoring/extract_method.dart
diff --git a/pkg/analysis_server/lib/src/services/refactoring/extract_method.dart b/pkg/analysis_server/lib/src/services/refactoring/extract_method.dart
index 2f85e839c2c76574c82478a972dd410b6e83c74b..be9162d6ded1eed0202dd45c726d6deae8acd23b 100644
--- a/pkg/analysis_server/lib/src/services/refactoring/extract_method.dart
+++ b/pkg/analysis_server/lib/src/services/refactoring/extract_method.dart
@@ -125,7 +125,7 @@ class ExtractMethodRefactoringImpl extends RefactoringImpl
@override
String get refactoringName {
- AstNode node = new NodeLocator.con1(selectionOffset).searchWithin(unit);
+ AstNode node = new NodeLocator(selectionOffset).searchWithin(unit);
if (node != null &&
node.getAncestor((node) => node is ClassDeclaration) != null) {
return 'Extract Method';

Powered by Google App Engine
This is Rietveld 408576698