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

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/builder/AngularCompilationUnitBuilder.java

Issue 184893003: New analyzer snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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/src/com/google/dart/engine/internal/builder/AngularCompilationUnitBuilder.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/builder/AngularCompilationUnitBuilder.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/builder/AngularCompilationUnitBuilder.java
index 27b98ce476034865ffecb5604de430f78c410f78..fe9553b924d87b010413a5aa7a229c45bf7b7746 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/builder/AngularCompilationUnitBuilder.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/builder/AngularCompilationUnitBuilder.java
@@ -73,10 +73,9 @@ import com.google.dart.engine.internal.element.angular.IsTagHasAttributeSelector
import com.google.dart.engine.source.Source;
import com.google.dart.engine.type.InterfaceType;
import com.google.dart.engine.type.Type;
+import com.google.dart.engine.utilities.general.ObjectUtilities;
import com.google.dart.engine.utilities.general.StringUtilities;
-import org.apache.commons.lang3.StringUtils;
-
import java.util.List;
/**
@@ -738,7 +737,7 @@ public class AngularCompilationUnitBuilder {
PrefixedIdentifier prefixed = (PrefixedIdentifier) target;
SimpleIdentifier prefix = prefixed.getPrefix();
SimpleIdentifier identifier = prefixed.getIdentifier();
- return StringUtils.equals(identifier.getName(), "context") && isScope(prefix);
+ return ObjectUtilities.equals(identifier.getName(), "context") && isScope(prefix);
}
return false;
}

Powered by Google App Engine
This is Rietveld 408576698