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

Unified Diff: utils/pub/yaml/model.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 | « utils/pub/version.dart ('k') | utils/pub/yaml/parser.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/yaml/model.dart
===================================================================
--- utils/pub/yaml/model.dart (revision 11633)
+++ utils/pub/yaml/model.dart (working copy)
@@ -11,11 +11,11 @@
// TODO(nweiz): it would better match the semantics of the spec if there were
// a singleton instance of this class for each tag.
- static final SCALAR_KIND = 0;
- static final SEQUENCE_KIND = 1;
- static final MAPPING_KIND = 2;
+ static const SCALAR_KIND = 0;
+ static const SEQUENCE_KIND = 1;
+ static const MAPPING_KIND = 2;
- static final String YAML_URI_PREFIX = 'tag:yaml.org,2002:';
+ static const String YAML_URI_PREFIX = 'tag:yaml.org,2002:';
/** The name of the tag, either a URI or a local tag beginning with "!". */
final String name;
« no previous file with comments | « utils/pub/version.dart ('k') | utils/pub/yaml/parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698