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

Unified Diff: pkg/dartdoc/lib/mirrors_util.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 | « pkg/dartdoc/lib/dartdoc.dart ('k') | pkg/dartdoc/lib/src/client/dropdown.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/dartdoc/lib/mirrors_util.dart
diff --git a/pkg/dartdoc/lib/mirrors_util.dart b/pkg/dartdoc/lib/mirrors_util.dart
index 9996b8c1e7a03dad220a0fa5dbd13ab66673764e..a948f7f9a1ae987666aac22c53a5fe0acc6a13c5 100644
--- a/pkg/dartdoc/lib/mirrors_util.dart
+++ b/pkg/dartdoc/lib/mirrors_util.dart
@@ -119,7 +119,7 @@ class HierarchyIterator implements Iterator<InterfaceMirror> {
InterfaceMirror next() {
InterfaceMirror type;
- if (queue.isEmpty()) {
+ if (queue.isEmpty) {
if (object === null) {
throw new NoMoreElementsException();
}
@@ -131,5 +131,5 @@ class HierarchyIterator implements Iterator<InterfaceMirror> {
}
}
- bool get hasNext => !queue.isEmpty() || object !== null;
+ bool get hasNext => !queue.isEmpty || object !== null;
}
« no previous file with comments | « pkg/dartdoc/lib/dartdoc.dart ('k') | pkg/dartdoc/lib/src/client/dropdown.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698