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

Unified Diff: sdk/lib/io/options.dart

Issue 12817003: Change getRange to sublist. Make getRange deprecated. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed review comments 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
Index: sdk/lib/io/options.dart
diff --git a/sdk/lib/io/options.dart b/sdk/lib/io/options.dart
index cf42b35f09e08433a3f43e867f0b475854fde168..91a8e5841e6e46d1743d3608919b00a9e19f6e4f 100644
--- a/sdk/lib/io/options.dart
+++ b/sdk/lib/io/options.dart
@@ -47,7 +47,7 @@ class _OptionsImpl implements Options {
List<String> get arguments {
if (_arguments == null) {
// On first access make a copy of the native arguments.
- _arguments = _nativeArguments.getRange(0, _nativeArguments.length);
+ _arguments = _nativeArguments.sublist(0, _nativeArguments.length);
}
return _arguments;
}

Powered by Google App Engine
This is Rietveld 408576698