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

Unified Diff: editor/util/plugins/com.google.dart.java2dart/resources/java_core.dart

Issue 12603007: Update generated analyzer_experimental for new List interface. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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
« no previous file with comments | « no previous file | pkg/analyzer_experimental/lib/src/generated/java_core.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: editor/util/plugins/com.google.dart.java2dart/resources/java_core.dart
diff --git a/editor/util/plugins/com.google.dart.java2dart/resources/java_core.dart b/editor/util/plugins/com.google.dart.java2dart/resources/java_core.dart
index efedf1b5d7645cbc9768e9d1ef786677c087b387..1170ca179a2cf404fb31d70c8c4e04d351680118 100644
--- a/editor/util/plugins/com.google.dart.java2dart/resources/java_core.dart
+++ b/editor/util/plugins/com.google.dart.java2dart/resources/java_core.dart
@@ -291,6 +291,10 @@ class ListWrapper<E> extends Collection<E> implements List<E> {
return elements.indexOf(element, start);
}
+ void insert(int index, E element) {
+ elements.insert(index, element);
+ }
+
int lastIndexOf(E element, [int start]) {
return elements.lastIndexOf(element, start);
}
@@ -303,10 +307,6 @@ class ListWrapper<E> extends Collection<E> implements List<E> {
return elements.remove(element);
}
- void insert(int index, E value) {
- elements.insert(index, value);
- }
-
E removeAt(int index) {
return elements.removeAt(index);
}
« no previous file with comments | « no previous file | pkg/analyzer_experimental/lib/src/generated/java_core.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698