Index: pkg/analysis_server/lib/src/collections.dart |
diff --git a/pkg/analysis_server/lib/src/collections.dart b/pkg/analysis_server/lib/src/collections.dart |
index aa635d37361c288c1e2a599f28e4bbcec753c03f..3a1c8fbfe1badf6731cc5569b65310f995c9b27d 100644 |
--- a/pkg/analysis_server/lib/src/collections.dart |
+++ b/pkg/analysis_server/lib/src/collections.dart |
@@ -59,6 +59,8 @@ class RecentBuffer<T> { |
RecentBuffer(this.capacity); |
+ Iterable<T> get items => _buffer.reversed; |
+ |
void add(T item) { |
_buffer.add(item); |
@@ -66,6 +68,4 @@ class RecentBuffer<T> { |
_buffer.removeAt(0); |
} |
} |
- |
- Iterable<T> get items => _buffer.reversed; |
} |