| Index: lib/utf/utf16.dart
|
| diff --git a/lib/utf/utf16.dart b/lib/utf/utf16.dart
|
| index 29aed2e919b42081af3511e2d3179da1f8922800..7018ba4a1ced60b9344ce51e5e7e82d9d7d8a391 100644
|
| --- a/lib/utf/utf16.dart
|
| +++ b/lib/utf/utf16.dart
|
| @@ -264,7 +264,7 @@ class Utf16BytesToCodeUnitsDecoder implements _ListRangeIterator {
|
| List<int> decodeRest() {
|
| List<int> codeunits = new List<int>(remaining);
|
| int i = 0;
|
| - while (hasNext()) {
|
| + while (hasNext) {
|
| codeunits[i++] = next();
|
| }
|
| if (i == codeunits.length) {
|
| @@ -276,7 +276,7 @@ class Utf16BytesToCodeUnitsDecoder implements _ListRangeIterator {
|
| }
|
| }
|
|
|
| - bool hasNext() => utf16EncodedBytesIterator.hasNext();
|
| + bool get hasNext => utf16EncodedBytesIterator.hasNext;
|
|
|
| int next() {
|
| if (utf16EncodedBytesIterator.remaining < 2) {
|
|
|