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

Unified Diff: runtime/lib/date_patch.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
Index: runtime/lib/date_patch.dart
===================================================================
--- runtime/lib/date_patch.dart (revision 11416)
+++ runtime/lib/date_patch.dart (working copy)
@@ -82,7 +82,7 @@
/** The first list contains the days until each month in non-leap years. The
* second list contains the days in leap years. */
- static final List<List<int>> _DAYS_UNTIL_MONTH =
+ static const List<List<int>> _DAYS_UNTIL_MONTH =
const [const [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334],
const [0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335]];

Powered by Google App Engine
This is Rietveld 408576698