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

Unified Diff: sdk/lib/convert/encoding.dart

Issue 1132603003: Change RangeError instances to use RangeError.range. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Adapt function fingerprints too. Created 5 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 | « sdk/lib/_internal/compiler/js_lib/native_typed_data.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/convert/encoding.dart
diff --git a/sdk/lib/convert/encoding.dart b/sdk/lib/convert/encoding.dart
index cc67f6f176c54eaa237cb733b37e105b99ba6ca1..696b5f0fcf750196d14ab8e61f117e428f8fe9cf 100644
--- a/sdk/lib/convert/encoding.dart
+++ b/sdk/lib/convert/encoding.dart
@@ -69,8 +69,8 @@ abstract class Encoding extends Codec<String, List<int>> {
* If character set is not supported [:null:] is returned.
*/
static Encoding getByName(String name) {
- if (name == null) return null;
- name = name.toLowerCase();
- return _nameToEncoding[name];
+ if (name == null) return null;
+ name = name.toLowerCase();
+ return _nameToEncoding[name];
}
}
« no previous file with comments | « sdk/lib/_internal/compiler/js_lib/native_typed_data.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698