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

Unified Diff: utils/pub/pub.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: utils/pub/pub.dart
diff --git a/utils/pub/pub.dart b/utils/pub/pub.dart
index 1c7830b9535c010d1963e53b2252cc7b2fc5b629..1c05c45b977acf5a48f87bc588ea6d9741b4a09c 100644
--- a/utils/pub/pub.dart
+++ b/utils/pub/pub.dart
@@ -137,8 +137,7 @@ main() {
return;
}
- var commandArgs =
- globalOptions.rest.getRange(1, globalOptions.rest.length - 1);
+ var commandArgs = globalOptions.rest.sublist(1);
command.run(cache, globalOptions, commandArgs);
});
}

Powered by Google App Engine
This is Rietveld 408576698