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; |
} |