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

Unified Diff: lib/utf/utf32.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
Index: lib/utf/utf32.dart
diff --git a/lib/utf/utf32.dart b/lib/utf/utf32.dart
index 6f1176862bc6d23543e54314751322be51cf2e83..b217563652be165b5f1e7270811f3d57418aca9b 100644
--- a/lib/utf/utf32.dart
+++ b/lib/utf/utf32.dart
@@ -181,7 +181,7 @@ bool hasUtf32leBom(List<int> utf32EncodedBytes, [int offset = 0, int length]) {
class IterableUtf32Decoder implements Iterable<int> {
final Function codeunitsProvider;
- IterableUtf32Decoder._(Function this.codeunitsProvider);
+ IterableUtf32Decoder._(this.codeunitsProvider);
Utf32BytesDecoder iterator() => codeunitsProvider();
}
@@ -194,8 +194,7 @@ class Utf32BytesDecoder implements _ListRangeIterator {
final int replacementCodepoint;
Utf32BytesDecoder._fromListRangeIterator(
- _ListRangeIterator this.utf32EncodedBytesIterator,
- int this.replacementCodepoint);
+ this.utf32EncodedBytesIterator, this.replacementCodepoint);
factory Utf32BytesDecoder(List<int> utf32EncodedBytes, [
int offset = 0, int length,
« lib/utf/utf16.dart ('K') | « lib/utf/utf16.dart ('k') | lib/utf/utf8.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698