| Index: pkg/shelf/lib/src/shelf_unmodifiable_map.dart
|
| diff --git a/pkg/shelf/lib/src/shelf_unmodifiable_map.dart b/pkg/shelf/lib/src/shelf_unmodifiable_map.dart
|
| index 34775f092f7ab93200c52084b8acb378c02a2d23..9634c8538a12a790489c3a8f432afeeb2b28d02d 100644
|
| --- a/pkg/shelf/lib/src/shelf_unmodifiable_map.dart
|
| +++ b/pkg/shelf/lib/src/shelf_unmodifiable_map.dart
|
| @@ -6,12 +6,13 @@ library shelf.shelf_unmodifiable_map;
|
|
|
| import 'dart:collection';
|
|
|
| -// TODO(kevmoo): use UnmodifiableMapView from SDK once 1.4 ships
|
| +// TODO(kevmoo): MapView lacks a const ctor, so we have to use DelegatingMap
|
| +// from pkg/collection - https://codereview.chromium.org/294093003/
|
| import 'package:collection/wrappers.dart' as pc;
|
|
|
| /// A simple wrapper over [pc.UnmodifiableMapView] which avoids re-wrapping
|
| /// itself.
|
| -class ShelfUnmodifiableMap<V> extends pc.UnmodifiableMapView<String, V> {
|
| +class ShelfUnmodifiableMap<V> extends UnmodifiableMapView<String, V> {
|
| /// If [source] is a [ShelfUnmodifiableMap] with matching [ignoreKeyCase],
|
| /// then [source] is returned.
|
| ///
|
|
|