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

Unified Diff: lib/html/templates/html/impl/impl_NodeList.darttemplate

Issue 11262012: Migrate to getter for isEmpty. (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/templates/html/impl/impl_NodeList.darttemplate
diff --git a/lib/html/templates/html/impl/impl_NodeList.darttemplate b/lib/html/templates/html/impl/impl_NodeList.darttemplate
index 970296a048ed3431f4f36d0da558ef8e8c44b84c..cf0803489b51cf0d255af69cadaa1f7e0dc450dc 100644
--- a/lib/html/templates/html/impl/impl_NodeList.darttemplate
+++ b/lib/html/templates/html/impl/impl_NodeList.darttemplate
@@ -23,7 +23,7 @@ class _ListWrapper<E> implements List<E> {
bool some(bool f(E element)) => _list.some(f);
- bool isEmpty() => _list.isEmpty();
+ bool get isEmpty => _list.isEmpty;
int get length => _list.length;
@@ -141,7 +141,7 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
bool some(bool f(Node element)) => _Collections.some(this, f);
- bool isEmpty() => this.length == 0;
+ bool get isEmpty => this.length == 0;
// From List<Node>:
« no previous file with comments | « lib/html/templates/html/impl/impl_Node.darttemplate ('k') | lib/html/templates/html/impl/impl_Storage.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698