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

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

Issue 725153002: Remove unused fields from analysis_server. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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/inline_method.dart
diff --git a/pkg/analysis_server/lib/src/services/refactoring/inline_method.dart b/pkg/analysis_server/lib/src/services/refactoring/inline_method.dart
index 96dbb0340185de48fe1295d4211dd0c53d43a222..7c81214542d5aaa092559cd22b2720a77b329698 100644
--- a/pkg/analysis_server/lib/src/services/refactoring/inline_method.dart
+++ b/pkg/analysis_server/lib/src/services/refactoring/inline_method.dart
@@ -200,7 +200,6 @@ class InlineMethodRefactoringImpl extends RefactoringImpl implements
ExecutableElement _methodElement;
bool _isAccessor;
- String _methodFile;
CompilationUnit _methodUnit;
CorrectionUtils _methodUtils;
AstNode _methodNode;
@@ -340,7 +339,6 @@ class InlineMethodRefactoringImpl extends RefactoringImpl implements
}
_methodElement = element as ExecutableElement;
_isAccessor = element is PropertyAccessorElement;
- _methodFile = _methodElement.source.fullName;
_methodUnit = element.unit;
_methodUtils = new CorrectionUtils(_methodUnit);
// class member
« no previous file with comments | « pkg/analysis_server/lib/src/services/generated/util.dart ('k') | pkg/analysis_server/test/integration/integration_tests.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698