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

Unified Diff: lib/src/shelf_unmodifiable_map.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/response.dart ('k') | lib/src/util.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/shelf_unmodifiable_map.dart
diff --git a/lib/src/shelf_unmodifiable_map.dart b/lib/src/shelf_unmodifiable_map.dart
index 7cb5553e3036348ed42e7e1ca79bbf983f0d01c6..9b5644373c7fbdffa83b61c0120c4198ac33d17f 100644
--- a/lib/src/shelf_unmodifiable_map.dart
+++ b/lib/src/shelf_unmodifiable_map.dart
@@ -31,8 +31,8 @@ class ShelfUnmodifiableMap<V> extends UnmodifiableMapView<String, V> {
}
if (ignoreKeyCase) {
- source = new pc.CanonicalizedMap<String, String, V>.from(source,
- (key) => key.toLowerCase(), isValidKey: (key) => key != null);
+ source = new pc.CanonicalizedMap<String, String, V>.from(
+ source, (key) => key.toLowerCase(), isValidKey: (key) => key != null);
} else {
source = new Map<String, V>.from(source);
}
@@ -47,6 +47,6 @@ class ShelfUnmodifiableMap<V> extends UnmodifiableMapView<String, V> {
// TODO(kevmoo): Consider using MapView from dart:collection which has a const
// ctor. Would require updating min SDK to 1.5.
class _EmptyShelfUnmodifiableMap<V> extends pc.DelegatingMap<String, V>
- implements ShelfUnmodifiableMap<V> {
+ implements ShelfUnmodifiableMap<V> {
const _EmptyShelfUnmodifiableMap() : super(const {});
}
« no previous file with comments | « lib/src/response.dart ('k') | lib/src/util.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698