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

Unified Diff: pkg/watcher/lib/src/directory_watcher/linux.dart

Issue 65533005: Fix an analyzer error in the linux directory watcher. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/watcher/lib/src/directory_watcher/linux.dart
diff --git a/pkg/watcher/lib/src/directory_watcher/linux.dart b/pkg/watcher/lib/src/directory_watcher/linux.dart
index 9acecf17bc903fa8606530ab2b4cc27e59cccf74..7ac6e6e087a0e189b6c6607e183b01a362d53b56 100644
--- a/pkg/watcher/lib/src/directory_watcher/linux.dart
+++ b/pkg/watcher/lib/src/directory_watcher/linux.dart
@@ -82,7 +82,7 @@ class _LinuxDirectoryWatcher implements ManuallyClosedDirectoryWatcher {
Future _waitUntilReady() {
return Future.wait(_subWatchers.values.map((watcher) => watcher.ready))
.then((_) {
- if (_subWatchers.values.every((watcher) => watcher.isReady)) return;
+ if (_subWatchers.values.every((watcher) => watcher.isReady)) return null;
return _waitUntilReady();
});
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698