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

Unified Diff: lib/compiler/implementation/scanner/scanner_task.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/compiler/implementation/scanner/listener.dart ('k') | lib/compiler/implementation/scanner/token.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/scanner/scanner_task.dart
===================================================================
--- lib/compiler/implementation/scanner/scanner_task.dart (revision 11400)
+++ lib/compiler/implementation/scanner/scanner_task.dart (working copy)
@@ -222,14 +222,14 @@
* tags come in the correct order.
*/
class TagState {
- static final int NO_TAG_SEEN = 0;
- static final int LIBRARY = 1;
- static final int IMPORT = 2;
- static final int SOURCE = 3;
- static final int RESOURCE = 4;
+ static const int NO_TAG_SEEN = 0;
+ static const int LIBRARY = 1;
+ static const int IMPORT = 2;
+ static const int SOURCE = 3;
+ static const int RESOURCE = 4;
/** Next state. */
- static final List<int> NEXT =
+ static const List<int> NEXT =
const <int>[NO_TAG_SEEN,
IMPORT, // Only one library tag is allowed.
IMPORT,
« no previous file with comments | « lib/compiler/implementation/scanner/listener.dart ('k') | lib/compiler/implementation/scanner/token.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698