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

Unified Diff: lib/html/src/_Collections.dart

Issue 11230011: Make hasNext a getter instead of a method. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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: lib/html/src/_Collections.dart
diff --git a/lib/html/src/_Collections.dart b/lib/html/src/_Collections.dart
index 785e669fd2a927b99190edfc782d6ea6bee55d7b..0bd764dd684cab6c0d495923069bc2c8fb9b6349 100644
--- a/lib/html/src/_Collections.dart
+++ b/lib/html/src/_Collections.dart
@@ -47,6 +47,6 @@ class _Collections {
}
static bool isEmpty(Iterable<Object> iterable) {
- return !iterable.iterator().hasNext();
+ return !iterable.iterator().hasNext;
}
}

Powered by Google App Engine
This is Rietveld 408576698