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

Unified Diff: lib/crypto/hash_utils.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
Index: lib/crypto/hash_utils.dart
===================================================================
--- lib/crypto/hash_utils.dart (revision 11386)
+++ lib/crypto/hash_utils.dart (working copy)
@@ -3,10 +3,10 @@
// BSD-style license that can be found in the LICENSE file.
// Constants.
-final _MASK_8 = 0xff;
-final _MASK_32 = 0xffffffff;
-final _BITS_PER_BYTE = 8;
-final _BYTES_PER_WORD = 4;
+const _MASK_8 = 0xff;
+const _MASK_32 = 0xffffffff;
+const _BITS_PER_BYTE = 8;
+const _BYTES_PER_WORD = 4;
// Helper functions used by more than one hasher.

Powered by Google App Engine
This is Rietveld 408576698