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]; |
} |
} |