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

Unified Diff: runtime/bin/buffer_list.dart

Issue 10915007: Use new getters syntax in dart:io. A few were missed in the first round of cleanup. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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 | « no previous file | runtime/bin/chunked_stream.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/buffer_list.dart
diff --git a/runtime/bin/buffer_list.dart b/runtime/bin/buffer_list.dart
index 510a11eaf31f76cbccad97512a9890e6313bf124..fd58ee2c95db3b502e5864f95891e82c7c01ab13 100644
--- a/runtime/bin/buffer_list.dart
+++ b/runtime/bin/buffer_list.dart
@@ -28,14 +28,14 @@ class _BufferList {
* buffer and does not remove the buffer from the list. Use
* [index] to determine the index of the first byte in the buffer.
*/
- List<int> get first() => _buffers.first();
+ List<int> get first => _buffers.first();
/**
* Returns the current index of the next byte. This will always be
* an index into the first buffer as when the index is advanced past
* the end of a buffer it is removed from the list.
*/
- int get index() => _index;
+ int get index => _index;
/**
* Peek at the next available byte.
@@ -129,7 +129,7 @@ class _BufferList {
/**
* Returns the total number of bytes remaining in the buffers.
*/
- int get length() => _length;
+ int get length => _length;
/**
* Returns whether the buffer list is empty that is has no bytes
« no previous file with comments | « no previous file | runtime/bin/chunked_stream.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698