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

Unified Diff: sdk/lib/io/file.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/file.dart
diff --git a/sdk/lib/io/file.dart b/sdk/lib/io/file.dart
index 7369640f527fac04342ff03386f0152a9da9e353..d48a367005e572cd5daaf9959f83ff27c02e89ac 100644
--- a/sdk/lib/io/file.dart
+++ b/sdk/lib/io/file.dart
@@ -16,8 +16,9 @@ class FileMode {
/// The [FileMode] for opening a file for reading a file and writing to the
/// end of it. If the file does not exist, it will be created.
static const APPEND = const FileMode._internal(2);
- const FileMode._internal(int this._mode);
final int _mode;
+
+ const FileMode._internal(this._mode);
}
/// The [FileMode] for opening a file only for reading.
@@ -564,9 +565,7 @@ class FileSystemException implements IOException {
final String message;
final String path;
final OSError osError;
- const FileSystemException([String this.message = "",
- String this.path = "",
- OSError this.osError]);
+ const FileSystemException([this.message = "", this.path = "", this.osError]);
String toString() {
StringBuffer sb = new StringBuffer();

Powered by Google App Engine
This is Rietveld 408576698