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

Unified Diff: lib/utf/utf_core.dart

Issue 10919146: Get rid of a lot of () for getters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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 | « lib/utf/utf32.dart ('k') | pkg/args/args.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/utf/utf_core.dart
diff --git a/lib/utf/utf_core.dart b/lib/utf/utf_core.dart
index 6c2d0ce0c3b3eb9370b7210de813a5b37c21e7fd..24d62d6a1c14c6b3fb399053315a9de01c57a219 100644
--- a/lib/utf/utf_core.dart
+++ b/lib/utf/utf_core.dart
@@ -232,7 +232,7 @@ class _ListRange implements Iterable {
_ListRangeIterator iterator() =>
new _ListRangeIteratorImpl(_source, _offset, _offset + _length);
- int get length() => _length;
+ int get length => _length;
}
/**
@@ -243,9 +243,9 @@ class _ListRange implements Iterable {
interface _ListRangeIterator extends Iterator<int> {
bool hasNext();
int next();
- int get position();
+ int get position;
void backup([by]);
- int get remaining();
+ int get remaining;
void skip([count]);
}
@@ -260,13 +260,13 @@ class _ListRangeIteratorImpl implements _ListRangeIterator {
int next() => _source[_offset++];
- int get position() => _offset;
+ int get position => _offset;
void backup([int by = 1]) {
_offset -= by;
}
- int get remaining() => _end - _offset;
+ int get remaining => _end - _offset;
void skip([int count = 1]) {
_offset += count;
« no previous file with comments | « lib/utf/utf32.dart ('k') | pkg/args/args.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698