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

Unified Diff: utils/pub/validator/dependency.dart

Issue 11865005: Remove Futures class, move methods to Future. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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/validator.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/dependency.dart
diff --git a/utils/pub/validator/dependency.dart b/utils/pub/validator/dependency.dart
index 378cb6fd7de2e422b649ce20811da655842b8bea..18cff6624b013321e2dc78b7713349f05f89e5f1 100644
--- a/utils/pub/validator/dependency.dart
+++ b/utils/pub/validator/dependency.dart
@@ -20,7 +20,7 @@ class DependencyValidator extends Validator {
: super(entrypoint);
Future validate() {
- return Futures.forEach(entrypoint.root.pubspec.dependencies, (dependency) {
+ return Future.forEach(entrypoint.root.pubspec.dependencies, (dependency) {
if (dependency.source is! HostedSource) {
return _warnAboutSource(dependency);
}
« no previous file with comments | « utils/pub/validator.dart ('k') | utils/pub/validator/directory.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698