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

Unified Diff: lib/utf/utf32.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/utf16.dart ('k') | lib/utf/utf_core.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/utf/utf32.dart
diff --git a/lib/utf/utf32.dart b/lib/utf/utf32.dart
index 819e1684db63cb38fcdcbc79bc8a01a534db386a..8ef448295bd94555310b1bca1f648d1b72830d45 100644
--- a/lib/utf/utf32.dart
+++ b/lib/utf/utf32.dart
@@ -248,13 +248,13 @@ class Utf32BytesDecoder implements _ListRangeIterator {
}
}
- int get position() => utf32EncodedBytesIterator.position ~/ 4;
+ int get position => utf32EncodedBytesIterator.position ~/ 4;
void backup([int by = 1]) {
utf32EncodedBytesIterator.backup(4 * by);
}
- int get remaining() => (utf32EncodedBytesIterator.remaining + 3) ~/ 4;
+ int get remaining => (utf32EncodedBytesIterator.remaining + 3) ~/ 4;
void skip([int count = 1]) {
utf32EncodedBytesIterator.skip(4 * count);
« no previous file with comments | « lib/utf/utf16.dart ('k') | lib/utf/utf_core.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698