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

Unified Diff: lib/utf/utf8.dart

Issue 11049036: Remove spurious types from constructor args that use "this." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Ready to review Created 8 years, 2 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
« lib/utf/utf16.dart ('K') | « lib/utf/utf32.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/utf/utf8.dart
diff --git a/lib/utf/utf8.dart b/lib/utf/utf8.dart
index b47dd724a1b973daaf3c7bfe93a3f8dfbaa0b02b..610aa72bb3b6387792503d94b15f7dd097406c96 100644
--- a/lib/utf/utf8.dart
+++ b/lib/utf/utf8.dart
@@ -133,9 +133,8 @@ class IterableUtf8Decoder implements Iterable<int> {
final int length;
final int replacementCodepoint;
- IterableUtf8Decoder(List<int> this.bytes, [int this.offset = 0,
- int this.length = null,
- int this.replacementCodepoint = UNICODE_REPLACEMENT_CHARACTER_CODEPOINT]);
+ IterableUtf8Decoder(this.bytes, [this.offset = 0, this.length = null,
+ this.replacementCodepoint = UNICODE_REPLACEMENT_CHARACTER_CODEPOINT]);
Utf8Decoder iterator() => new Utf8Decoder(bytes, offset, length,
replacementCodepoint);
@@ -154,14 +153,14 @@ class Utf8Decoder implements Iterator<int> {
final int replacementCodepoint;
Utf8Decoder(List<int> utf8EncodedBytes, [int offset = 0, int length,
- int this.replacementCodepoint =
+ this.replacementCodepoint =
UNICODE_REPLACEMENT_CHARACTER_CODEPOINT]) :
utf8EncodedBytesIterator = (new _ListRange(utf8EncodedBytes, offset,
length)).iterator();
Utf8Decoder._fromListRangeIterator(_ListRange source, [
- int this.replacementCodepoint =
+ this.replacementCodepoint =
UNICODE_REPLACEMENT_CHARACTER_CODEPOINT]) :
utf8EncodedBytesIterator = source.iterator();
« lib/utf/utf16.dart ('K') | « lib/utf/utf32.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698