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

Unified Diff: sdk/lib/io/platform_impl.dart

Issue 1097353003: Revert "Fix warnings and hints in the SDK" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 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/io/http_parser.dart ('k') | sdk/lib/typed_data/typed_data.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/platform_impl.dart
diff --git a/sdk/lib/io/platform_impl.dart b/sdk/lib/io/platform_impl.dart
index 17f5b673c1c95d62a0041e29350e593091608d0f..3883957ef0d8129db4a47323b5f8ffd7a0038a81 100644
--- a/sdk/lib/io/platform_impl.dart
+++ b/sdk/lib/io/platform_impl.dart
@@ -113,7 +113,7 @@ class _CaseInsensitiveStringMap<V> implements Map<String, V> {
_map[key.toUpperCase()] = value;
}
V putIfAbsent(String key, V ifAbsent()) {
- return _map.putIfAbsent(key.toUpperCase(), ifAbsent);
+ _map.putIfAbsent(key.toUpperCase(), ifAbsent);
}
addAll(Map other) {
other.forEach((key, value) => this[key.toUpperCase()] = value);
« no previous file with comments | « sdk/lib/io/http_parser.dart ('k') | sdk/lib/typed_data/typed_data.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698