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

Unified Diff: pkg/mime/lib/src/default_extension_map.dart

Issue 292983002: Clean up mime package. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 7 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 | « no previous file | pkg/mime/lib/src/magic_number.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/mime/lib/src/default_extension_map.dart
diff --git a/pkg/mime/lib/src/default_extension_map.dart b/pkg/mime/lib/src/default_extension_map.dart
index 7e74648d3f6a062e5c130a34382887747ea1710b..a41408fa27dfa7c72630722d93a38b46566653eb 100644
--- a/pkg/mime/lib/src/default_extension_map.dart
+++ b/pkg/mime/lib/src/default_extension_map.dart
@@ -5,7 +5,7 @@
library mime.extension_map;
// TODO(ajohnsen): Use sorted list and binary search?
-const Map<String, String> DEFAULT_EXTENSION_MAP = const <String, String>{
+final Map<String, String> defaultExtensionMap = <String, String>{
kevmoo 2014/05/20 18:55:05 I'd put a note here about not using const map w/ a
Anders Johnsen 2014/05/23 07:07:06 Done.
'123':'application/vnd.lotus-1-2-3',
'3dml':'text/vnd.in3d.3dml',
'3ds':'image/x-3ds',
« no previous file with comments | « no previous file | pkg/mime/lib/src/magic_number.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698