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

Unified Diff: lib/crypto/sha256.dart

Issue 10880068: - Change "static final" to "static const" in the lib/ 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 | « lib/crypto/md5.dart ('k') | lib/dom/dart2js/dom_dart2js.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/crypto/sha256.dart
===================================================================
--- lib/crypto/sha256.dart (revision 11400)
+++ lib/crypto/sha256.dart (working copy)
@@ -25,7 +25,7 @@
// Table of round constants. First 32 bits of the fractional
// parts of the cube roots of the first 64 prime numbers.
- static final List<int> _K =
+ static const List<int> _K =
const [ 0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5, 0x3956c25b,
0x59f111f1, 0x923f82a4, 0xab1c5ed5, 0xd807aa98, 0x12835b01,
0x243185be, 0x550c7dc3, 0x72be5d74, 0x80deb1fe, 0x9bdc06a7,
« no previous file with comments | « lib/crypto/md5.dart ('k') | lib/dom/dart2js/dom_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698