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

Unified Diff: utils/apidoc/mdn/prettyPrint.dart

Issue 11664006: Make Map.keys/values Iterables. (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: Add TODO that map.keys should return a Set. Created 7 years, 12 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 | « tests/standalone/io/url_encoding_test.dart ('k') | utils/archive/options.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/apidoc/mdn/prettyPrint.dart
diff --git a/utils/apidoc/mdn/prettyPrint.dart b/utils/apidoc/mdn/prettyPrint.dart
index bbd21e12e47ea75032b0001c5752bf3015f93282..6d4c323d853eb210ac58bde0fcde9db537ba31b4 100644
--- a/utils/apidoc/mdn/prettyPrint.dart
+++ b/utils/apidoc/mdn/prettyPrint.dart
@@ -12,7 +12,7 @@ String orEmpty(String str) {
return str == null ? "" : str;
}
-List<String> sortStringCollection(Collection<String> collection) {
+List<String> sortStringCollection(Iterable<String> collection) {
final out = <String>[];
out.addAll(collection);
out.sort((String a, String b) => a.compareTo(b));
« no previous file with comments | « tests/standalone/io/url_encoding_test.dart ('k') | utils/archive/options.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698