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

Unified Diff: pkg/fixnum/int32.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/dartdoc/mirrors/dart2js_mirror.dart ('k') | pkg/fixnum/int64.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/fixnum/int32.dart
===================================================================
--- pkg/fixnum/int32.dart (revision 11633)
+++ pkg/fixnum/int32.dart (working copy)
@@ -12,7 +12,7 @@
* The maximum positive value attainable by an [int32], namely
* 2147483647.
*/
- static final int32 MAX_VALUE = const int32._internal(0x7FFFFFFF);
+ static const int32 MAX_VALUE = const int32._internal(0x7FFFFFFF);
/**
* The minimum positive value attainable by an [int32], namely
@@ -36,12 +36,12 @@
static int32 TWO = const int32._internal(2);
// Hex digit char codes
- static final int _CC_0 = 48; // '0'.charCodeAt(0)
- static final int _CC_9 = 57; // '9'.charCodeAt(0)
- static final int _CC_a = 97; // 'a'.charCodeAt(0)
- static final int _CC_z = 122; // 'z'.charCodeAt(0)
- static final int _CC_A = 65; // 'A'.charCodeAt(0)
- static final int _CC_Z = 90; // 'Z'.charCodeAt(0)
+ static const int _CC_0 = 48; // '0'.charCodeAt(0)
+ static const int _CC_9 = 57; // '9'.charCodeAt(0)
+ static const int _CC_a = 97; // 'a'.charCodeAt(0)
+ static const int _CC_z = 122; // 'z'.charCodeAt(0)
+ static const int _CC_A = 65; // 'A'.charCodeAt(0)
+ static const int _CC_Z = 90; // 'Z'.charCodeAt(0)
static int _decodeHex(int c) {
if (c >= _CC_0 && c <= _CC_9) {
« no previous file with comments | « pkg/dartdoc/mirrors/dart2js_mirror.dart ('k') | pkg/fixnum/int64.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698