 Chromium Code Reviews
 Chromium Code Reviews Issue 11230011:
  Make hasNext a getter instead of a method.  (Closed) 
  Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
    
  
    Issue 11230011:
  Make hasNext a getter instead of a method.  (Closed) 
  Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart| Index: lib/core/collection.dart | 
| diff --git a/lib/core/collection.dart b/lib/core/collection.dart | 
| index 22381ab1e051e2e7a9963e7dea6b45212c557ec9..35265256572e24f661162c0f32e33004ae20170e 100644 | 
| --- a/lib/core/collection.dart | 
| +++ b/lib/core/collection.dart | 
| @@ -95,5 +95,5 @@ abstract class Collection<E> extends Iterable<E> { | 
| /** | 
| * Returns true if there is no element in this collection. | 
| */ | 
| - bool isEmpty() => !iterator().hasNext(); | 
| + bool isEmpty() => !iterator().hasNext; | 
| } |