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

Unified Diff: samples/swarm/DataSource.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 | « samples/markdown/html_renderer.dart ('k') | samples/third_party/dromaeo/tests/dom-query-htmlidiomatic.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/swarm/DataSource.dart
diff --git a/samples/swarm/DataSource.dart b/samples/swarm/DataSource.dart
index 21bf97d58e11aa864bfdc4ee661df14bbdd3a1ee..dfb352dc85145d10bf0957fae82c43adfda533f6 100644
--- a/samples/swarm/DataSource.dart
+++ b/samples/swarm/DataSource.dart
@@ -99,7 +99,7 @@ class Sections implements Collection<Section> {
void forEach(void f(Section element)) { Collections.forEach(this, f); }
// TODO(jmesserly): this should be a property
- bool isEmpty() => length == 0;
+ bool get isEmpty => length == 0;
}
« no previous file with comments | « samples/markdown/html_renderer.dart ('k') | samples/third_party/dromaeo/tests/dom-query-htmlidiomatic.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698