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

Unified Diff: pkg/analyzer/lib/src/generated/java_core.dart

Issue 103233003: New analyzer snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years 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
« no previous file with comments | « pkg/analyzer/lib/src/generated/instrumentation.dart ('k') | pkg/analyzer/lib/src/generated/parser.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/generated/java_core.dart
diff --git a/pkg/analyzer/lib/src/generated/java_core.dart b/pkg/analyzer/lib/src/generated/java_core.dart
index 46fdaae45bbff64ece3d6031499a0dcf50f8fc0f..ea75f59645ef3d070e982659176754a45a3ccd27 100644
--- a/pkg/analyzer/lib/src/generated/java_core.dart
+++ b/pkg/analyzer/lib/src/generated/java_core.dart
@@ -82,6 +82,9 @@ bool isInstanceOf(o, Type t) {
class JavaArrays {
static bool equals(List a, List b) {
+ if (identical(a, b)) {
+ return true;
+ }
if (a.length != b.length) {
return false;
}
@@ -401,14 +404,6 @@ javaListSet(List list, int index, newValue) {
return oldValue;
}
-bool javaSetAdd(Set s, o) {
- if (!s.contains(o)) {
- s.add(o);
- return true;
- }
- return false;
-}
-
bool javaCollectionContainsAll(Iterable list, Iterable c) {
return c.fold(true, (bool prev, e) => prev && list.contains(e));
}
@@ -419,12 +414,6 @@ javaMapPut(Map target, key, value) {
return oldValue;
}
-void javaMapPutAll(Map target, Map source) {
- source.forEach((k, v) {
- target[k] = v;
- });
-}
-
bool javaStringEqualsIgnoreCase(String a, String b) {
return a.toLowerCase() == b.toLowerCase();
}
« no previous file with comments | « pkg/analyzer/lib/src/generated/instrumentation.dart ('k') | pkg/analyzer/lib/src/generated/parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698