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

Unified Diff: lib/utf/utf8.dart

Issue 9861011: - Remove type arguments from internal classes and interfaces. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 9 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') | 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/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();
« no previous file with comments | « lib/utf/utf32.dart ('k') | lib/utf/utf_core.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698