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

Unified Diff: samples/ui_lib/observable/ChangeEvent.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/ui_lib/base/Size.dart ('k') | samples/ui_lib/observable/observable.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/ui_lib/observable/ChangeEvent.dart
diff --git a/samples/ui_lib/observable/ChangeEvent.dart b/samples/ui_lib/observable/ChangeEvent.dart
index 41eabfd8696537ed3ae976eb3cc596c706986e1d..adbccb6bf5bd576bfcd230244478ef68b7cdf392 100644
--- a/samples/ui_lib/observable/ChangeEvent.dart
+++ b/samples/ui_lib/observable/ChangeEvent.dart
@@ -72,7 +72,7 @@ class EventSummary {
/** Notify listeners of [target] and parents of [target] about all changes. */
void notify() {
- if (!events.isEmpty()) {
+ if (!events.isEmpty) {
for (Observable obj = target; obj != null; obj = obj.parent) {
for (final listener in obj.listeners) {
listener(this);
« no previous file with comments | « samples/ui_lib/base/Size.dart ('k') | samples/ui_lib/observable/observable.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698