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

Unified Diff: pkg/unmodifiable_collection/lib/unmodifiable_collection.dart

Issue 76563003: Make a new version of package:unmodifiable_collection that defers to collection_helpers. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: simplify export. Created 7 years, 1 month 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 | « no previous file | pkg/unmodifiable_collection/pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/unmodifiable_collection/lib/unmodifiable_collection.dart
diff --git a/pkg/unmodifiable_collection/lib/unmodifiable_collection.dart b/pkg/unmodifiable_collection/lib/unmodifiable_collection.dart
new file mode 100644
index 0000000000000000000000000000000000000000..17e24e512cf1e730d3b7c1046eb8b42728a13e73
--- /dev/null
+++ b/pkg/unmodifiable_collection/lib/unmodifiable_collection.dart
@@ -0,0 +1,23 @@
+// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+/**
+ * This library used to introduce unmodifiable wrappers for collections.
+ *
+ * This functionality has been moved to the `collection_helpers` library.
+ *
+ * Please replace the import of this library with:
+ *
+ * import "package:collection_helpers/wrappers.dart";
+ *
+ * and change dependencies to match.
+ */
+@deprecated
+library unmodifiable_collection;
+
+export "package:collection_helpers/wrappers.dart"
+ show UnmodifiableListView,
+ UnmodifiableSetView,
+ UnmodifiableMapView,
+ NonGrowableListView;
« no previous file with comments | « no previous file | pkg/unmodifiable_collection/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698