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

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

Issue 13956006: Remove insertRange. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebuild DOM (unrelated CL) and update status files. Created 7 years, 8 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/element.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 6ebb6a559ee747368c1bc24590c08414852c9485..f26a400c782486ef34e4327a359f58c585f23c8c 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
@@ -333,12 +333,8 @@ class ListWrapper<E> extends ListBase<E> implements List<E> {
elements.setRange(start, end, iterable, skipCount);
}
- void removeRange(int start, int length) {
- elements.removeRange(start, length);
- }
-
- void insertRange(int start, int length, [E fill]) {
- elements.insertRange(start, length, fill);
+ void removeRange(int start, int end) {
+ elements.removeRange(start, end);
}
Map<int, E> asMap() {
« no previous file with comments | « no previous file | pkg/analyzer_experimental/lib/src/generated/element.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698