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

Unified Diff: utils/pub/validator.dart

Issue 12090093: Reapply "Rename mappedBy to map." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixed bug in previous commit. Created 7 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 | « utils/pub/utils.dart ('k') | utils/pub/validator/directory.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/validator.dart
diff --git a/utils/pub/validator.dart b/utils/pub/validator.dart
index 5ec0f233f5a808ba6c2a72b4dd68abb0acae1a86..4b417e983d2fce837f8657fefe018f898d1f17a3 100644
--- a/utils/pub/validator.dart
+++ b/utils/pub/validator.dart
@@ -53,12 +53,12 @@ abstract class Validator {
new DirectoryValidator(entrypoint)
];
- return Future.wait(validators.mappedBy((validator) => validator.validate()))
+ return Future.wait(validators.map((validator) => validator.validate()))
.then((_) {
var errors =
- flatten(validators.mappedBy((validator) => validator.errors));
+ flatten(validators.map((validator) => validator.errors));
var warnings =
- flatten(validators.mappedBy((validator) => validator.warnings));
+ flatten(validators.map((validator) => validator.warnings));
if (!errors.isEmpty) {
log.error("Missing requirements:");
« no previous file with comments | « utils/pub/utils.dart ('k') | utils/pub/validator/directory.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698