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

Unified Diff: runtime/bin/file.dart

Issue 10883071: - Change "static final" to "static const" in the runtime/ directory. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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 | « runtime/bin/directory_impl.dart ('k') | runtime/bin/file_impl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/file.dart
===================================================================
--- runtime/bin/file.dart (revision 11416)
+++ runtime/bin/file.dart (working copy)
@@ -7,9 +7,9 @@
* FileMode describes the modes in which a file can be opened.
*/
class FileMode {
- static final READ = const FileMode._internal(0);
- static final WRITE = const FileMode._internal(1);
- static final APPEND = const FileMode._internal(2);
+ static const READ = const FileMode._internal(0);
+ static const WRITE = const FileMode._internal(1);
+ static const APPEND = const FileMode._internal(2);
const FileMode._internal(int this._mode);
final int _mode;
}
« no previous file with comments | « runtime/bin/directory_impl.dart ('k') | runtime/bin/file_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698