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

Unified Diff: runtime/bin/input_stream.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/http_parser.dart ('k') | runtime/bin/process.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/input_stream.dart
===================================================================
--- runtime/bin/input_stream.dart (revision 11416)
+++ runtime/bin/input_stream.dart (working copy)
@@ -101,9 +101,9 @@
* String encodings.
*/
class Encoding {
- static final Encoding UTF_8 = const Encoding._internal("UTF-8");
- static final Encoding ISO_8859_1 = const Encoding._internal("ISO-8859-1");
- static final Encoding ASCII = const Encoding._internal("ASCII");
+ static const Encoding UTF_8 = const Encoding._internal("UTF-8");
+ static const Encoding ISO_8859_1 = const Encoding._internal("ISO-8859-1");
+ static const Encoding ASCII = const Encoding._internal("ASCII");
const Encoding._internal(String this.name);
final String name;
}
« no previous file with comments | « runtime/bin/http_parser.dart ('k') | runtime/bin/process.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698