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

Unified Diff: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/constant/ConstantValueComputerTest.java

Issue 22854024: Rename Identifier.getElement (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: clean-up and fix Created 7 years, 4 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: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/constant/ConstantValueComputerTest.java
diff --git a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/constant/ConstantValueComputerTest.java b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/constant/ConstantValueComputerTest.java
index fbab6b049ff2f79c3d82a85e67a1d554f8f2128e..77e24fac9ac57b229756836ce07d3e2e19f0fd88 100644
--- a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/constant/ConstantValueComputerTest.java
+++ b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/constant/ConstantValueComputerTest.java
@@ -136,7 +136,7 @@ public class ConstantValueComputerTest extends ResolverTestCase {
private void validate(boolean shouldBeValid, VariableDeclarationList declarationList) {
for (VariableDeclaration declaration : declarationList.getVariables()) {
- VariableElementImpl element = (VariableElementImpl) declaration.getName().getElement();
+ VariableElementImpl element = (VariableElementImpl) declaration.getElement();
assertNotNull(element);
EvaluationResultImpl result = element.getEvaluationResult();
if (shouldBeValid) {

Powered by Google App Engine
This is Rietveld 408576698