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

Unified Diff: lib/core/sequences.dart

Issue 11238035: Make isEmpty a getter. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status file with co19 issue number. 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
« no previous file with comments | « lib/core/map.dart ('k') | lib/core/string.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/core/sequences.dart
diff --git a/lib/core/sequences.dart b/lib/core/sequences.dart
index 94acaa08ac38be8ae53d10b880f34a15d6dab73c..2489881fa499b877c15421c1f5be115b4170e4da 100644
--- a/lib/core/sequences.dart
+++ b/lib/core/sequences.dart
@@ -85,7 +85,7 @@ abstract class SequenceCollection<E> implements Collection<E>, Sequence<E> {
return false;
}
- bool isEmpty() {
+ bool get isEmpty {
return this.length == 0;
}
}
« no previous file with comments | « lib/core/map.dart ('k') | lib/core/string.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698