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

Unified Diff: lib/utf/utf16.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/uri/uri.dart ('k') | lib/utf/utf32.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/utf/utf16.dart
diff --git a/lib/utf/utf16.dart b/lib/utf/utf16.dart
index 87ede26393690c77d5e13206b6e696112c6ee8fd..f451dbf6851793571eead339bd5bb6fe7e5a330c 100644
--- a/lib/utf/utf16.dart
+++ b/lib/utf/utf16.dart
@@ -292,13 +292,13 @@ class Utf16BytesToCodeUnitsDecoder implements _ListRangeIterator {
}
}
- int get position() => utf16EncodedBytesIterator.position ~/ 2;
+ int get position => utf16EncodedBytesIterator.position ~/ 2;
void backup([int by = 1]) {
utf16EncodedBytesIterator.backup(2 * by);
}
- int get remaining() => (utf16EncodedBytesIterator.remaining + 1) ~/ 2;
+ int get remaining => (utf16EncodedBytesIterator.remaining + 1) ~/ 2;
void skip([int count = 1]) {
utf16EncodedBytesIterator.skip(2 * count);
« no previous file with comments | « lib/uri/uri.dart ('k') | lib/utf/utf32.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698