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

Unified Diff: sdk/lib/core/iterable.dart

Issue 1287453002: change param name to match docs (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: more renames Created 5 years, 4 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 | « sdk/lib/collection/iterable.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/core/iterable.dart
diff --git a/sdk/lib/core/iterable.dart b/sdk/lib/core/iterable.dart
index 3de39bcdc989ef7f2276634bb611b2d33c891c5a..78efa1b5ca5200c8577625ef9dcbc33143d1ee40 100644
--- a/sdk/lib/core/iterable.dart
+++ b/sdk/lib/core/iterable.dart
@@ -392,8 +392,8 @@ abstract class Iterable<E> {
*
* The `count` must not be negative.
*/
- Iterable<E> take(int n) {
- return new TakeIterable<E>(this, n);
+ Iterable<E> take(int count) {
+ return new TakeIterable<E>(this, count);
}
/**
@@ -422,8 +422,8 @@ abstract class Iterable<E> {
*
* The `count` must not be negative.
*/
- Iterable<E> skip(int n) {
- return new SkipIterable<E>(this, n);
+ Iterable<E> skip(int count) {
+ return new SkipIterable<E>(this, count);
}
/**
« no previous file with comments | « sdk/lib/collection/iterable.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698