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

Unified Diff: pkg/logging/logging.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 | « pkg/intl/date_format.dart ('k') | pkg/unittest/core_matchers.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/logging/logging.dart
===================================================================
--- pkg/logging/logging.dart (revision 11633)
+++ pkg/logging/logging.dart (working copy)
@@ -261,34 +261,34 @@
const Level(this.name, this.value);
/** Special key to turn on logging for all levels ([value] = 0). */
- static final Level ALL = const Level('ALL', 0);
+ static const Level ALL = const Level('ALL', 0);
/** Special key to turn off all logging ([value] = 2000). */
- static final Level OFF = const Level('OFF', 2000);
+ static const Level OFF = const Level('OFF', 2000);
/** Key for highly detailed tracing ([value] = 300). */
- static final Level FINEST = const Level('FINEST', 300);
+ static const Level FINEST = const Level('FINEST', 300);
/** Key for fairly detailed tracing ([value] = 400). */
- static final Level FINER = const Level('FINER', 400);
+ static const Level FINER = const Level('FINER', 400);
/** Key for tracing information ([value] = 500). */
- static final Level FINE = const Level('FINE', 500);
+ static const Level FINE = const Level('FINE', 500);
/** Key for static configuration messages ([value] = 700). */
- static final Level CONFIG = const Level('CONFIG', 700);
+ static const Level CONFIG = const Level('CONFIG', 700);
/** Key for informational messages ([value] = 800). */
- static final Level INFO = const Level('INFO', 800);
+ static const Level INFO = const Level('INFO', 800);
/** Key for potential problems ([value] = 900). */
- static final Level WARNING = const Level('WARNING', 900);
+ static const Level WARNING = const Level('WARNING', 900);
/** Key for serious failures ([value] = 1000). */
- static final Level SEVERE = const Level('SEVERE', 1000);
+ static const Level SEVERE = const Level('SEVERE', 1000);
/** Key for extra debugging loudness ([value] = 1200). */
- static final Level SHOUT = const Level('SHOUT', 1200);
+ static const Level SHOUT = const Level('SHOUT', 1200);
bool operator ==(Level other) => other != null && value == other.value;
bool operator <(Level other) => value < other.value;
« no previous file with comments | « pkg/intl/date_format.dart ('k') | pkg/unittest/core_matchers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698