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

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

Issue 1908943004: Fix void foo(..) => ... to use { } instead. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Upload Created 4 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_impl.dart ('k') | sdk/lib/io/io_resource_info.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/http_session.dart
diff --git a/sdk/lib/io/http_session.dart b/sdk/lib/io/http_session.dart
index 159a54d44c92e412c18ec0cb91c0828344679388..90075a5377d7a0efeb87bb39eefa482ed405faf3 100644
--- a/sdk/lib/io/http_session.dart
+++ b/sdk/lib/io/http_session.dart
@@ -53,8 +53,8 @@ class _HttpSession implements HttpSession {
putIfAbsent(key, ifAbsent) => _data.putIfAbsent(key, ifAbsent);
addAll(Map other) => _data.addAll(other);
remove(key) => _data.remove(key);
- void clear() => _data.clear();
- void forEach(void f(key, value)) => _data.forEach(f);
+ void clear() { _data.clear(); }
+ void forEach(void f(key, value)) { _data.forEach(f); }
Iterable get keys => _data.keys;
Iterable get values => _data.values;
int get length => _data.length;
@@ -104,7 +104,7 @@ class _HttpSessionManager {
_startTimer();
}
- void close() => _stopTimer();
+ void close() { _stopTimer(); }
void _bumpToEnd(_HttpSession session) {
_removeFromTimeoutQueue(session);
« no previous file with comments | « sdk/lib/io/http_impl.dart ('k') | sdk/lib/io/io_resource_info.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698