| Index: lib/utf/utf8.dart
|
| ===================================================================
|
| --- lib/utf/utf8.dart (revision 5917)
|
| +++ lib/utf/utf8.dart (working copy)
|
| @@ -67,7 +67,7 @@
|
| */
|
| List<int> codepointsToUtf8(
|
| List<int> codepoints, [int offset = 0, int length]) {
|
| - _ListRange<int> source = new _ListRange(codepoints, offset, length);
|
| + _ListRange source = new _ListRange(codepoints, offset, length);
|
|
|
| int encodedLength = 0;
|
| for (int value in source) {
|
| @@ -150,7 +150,7 @@
|
| * from this method can be used as an Iterable (e.g. in a for-loop).
|
| */
|
| class Utf8Decoder implements Iterator<int> {
|
| - final _ListRangeIterator<int> utf8EncodedBytesIterator;
|
| + final _ListRangeIterator utf8EncodedBytesIterator;
|
| final int replacementCodepoint;
|
|
|
| Utf8Decoder(List<int> utf8EncodedBytes, [int offset = 0, int length,
|
| @@ -160,7 +160,7 @@
|
| length)).iterator();
|
|
|
|
|
| - Utf8Decoder._fromListRangeIterator(_ListRange<int> source, [
|
| + Utf8Decoder._fromListRangeIterator(_ListRange source, [
|
| int this.replacementCodepoint =
|
| UNICODE_REPLACEMENT_CHARACTER_CODEPOINT]) :
|
| utf8EncodedBytesIterator = source.iterator();
|
|
|