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

Unified Diff: lib/core/duration.dart

Issue 10919024: - Change "static final" to "static const" in the (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 | « lib/core/double.dart ('k') | pkg/args/args.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/core/duration.dart
===================================================================
--- lib/core/duration.dart (revision 11633)
+++ lib/core/duration.dart (working copy)
@@ -47,20 +47,20 @@
*/
final int inMilliseconds;
- static final int MILLISECONDS_PER_SECOND = 1000;
- static final int SECONDS_PER_MINUTE = 60;
- static final int MINUTES_PER_HOUR = 60;
- static final int HOURS_PER_DAY = 24;
+ static const int MILLISECONDS_PER_SECOND = 1000;
+ static const int SECONDS_PER_MINUTE = 60;
+ static const int MINUTES_PER_HOUR = 60;
+ static const int HOURS_PER_DAY = 24;
- static final int MILLISECONDS_PER_MINUTE =
+ static const int MILLISECONDS_PER_MINUTE =
MILLISECONDS_PER_SECOND * SECONDS_PER_MINUTE;
- static final int MILLISECONDS_PER_HOUR =
+ static const int MILLISECONDS_PER_HOUR =
MILLISECONDS_PER_MINUTE * MINUTES_PER_HOUR;
- static final int MILLISECONDS_PER_DAY =
+ static const int MILLISECONDS_PER_DAY =
MILLISECONDS_PER_HOUR * HOURS_PER_DAY;
- static final int SECONDS_PER_HOUR = SECONDS_PER_MINUTE * MINUTES_PER_HOUR;
- static final int SECONDS_PER_DAY = SECONDS_PER_HOUR * HOURS_PER_DAY;
+ static const int SECONDS_PER_HOUR = SECONDS_PER_MINUTE * MINUTES_PER_HOUR;
+ static const int SECONDS_PER_DAY = SECONDS_PER_HOUR * HOURS_PER_DAY;
- static final int MINUTES_PER_DAY = MINUTES_PER_HOUR * HOURS_PER_DAY;
+ static const int MINUTES_PER_DAY = MINUTES_PER_HOUR * HOURS_PER_DAY;
}
« no previous file with comments | « lib/core/double.dart ('k') | pkg/args/args.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698