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

Unified Diff: sdk/lib/io/stdio.dart

Issue 124753002: Code cleanup (mostly io lib and some http lib). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merge to head. Created 6 years, 11 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: sdk/lib/io/stdio.dart
diff --git a/sdk/lib/io/stdio.dart b/sdk/lib/io/stdio.dart
index 5626d84f460d39a513a164a84699c77ec3480a73..c0d1cdd9741fcc93a0c5c3f75988a1c3b1327a39 100644
--- a/sdk/lib/io/stdio.dart
+++ b/sdk/lib/io/stdio.dart
@@ -14,7 +14,7 @@ const int _STDIO_HANDLE_TYPE_OTHER = 4;
class _StdStream extends Stream<List<int>> {
final Stream<List<int>> _stream;
- _StdStream(Stream<List<int>> this._stream);
+ _StdStream(this._stream);
StreamSubscription<List<int>> listen(void onData(List<int> event),
{Function onError,
@@ -206,7 +206,7 @@ class StdoutException implements IOException {
class _StdSink implements IOSink {
final IOSink _sink;
- _StdSink(IOSink this._sink);
+ _StdSink(this._sink);
Encoding get encoding => _sink.encoding;
void set encoding(Encoding encoding) {
@@ -232,7 +232,7 @@ class StdioType {
static const StdioType FILE = const StdioType._("file");
static const StdioType OTHER = const StdioType._("other");
final String name;
- const StdioType._(String this.name);
+ const StdioType._(this.name);
String toString() => "StdioType: $name";
}

Powered by Google App Engine
This is Rietveld 408576698