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

Unified Diff: lib/src/util.dart

Issue 837193005: pkg/shelf: formatted code (Closed) Base URL: https://github.com/dart-lang/shelf.git@master
Patch Set: nits Created 5 years, 11 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 | « lib/src/shelf_unmodifiable_map.dart ('k') | pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/util.dart
diff --git a/lib/src/util.dart b/lib/src/util.dart
index b668177a011a4bee288b7421a8c14c746cc6200d..270ea6b86ffc0cab909dd24b5cb74a60928a42b1 100644
--- a/lib/src/util.dart
+++ b/lib/src/util.dart
@@ -38,6 +38,5 @@ catchTopLevelErrors(callback(), void onError(error, StackTrace stackTrace)) {
Map updateMap(Map original, Map updates) {
if (updates == null || updates.isEmpty) return original;
- return new Map.from(original)
- ..addAll(updates);
+ return new Map.from(original)..addAll(updates);
}
« no previous file with comments | « lib/src/shelf_unmodifiable_map.dart ('k') | pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698