| Index: pkg/analyzer/lib/file_system/memory_file_system.dart
|
| diff --git a/pkg/analyzer/lib/file_system/memory_file_system.dart b/pkg/analyzer/lib/file_system/memory_file_system.dart
|
| index 57497bae89c32c57bfac9671262d20c23761e6e9..7f4f95482df1a97aa2a293e64c7e132da86f4965 100644
|
| --- a/pkg/analyzer/lib/file_system/memory_file_system.dart
|
| +++ b/pkg/analyzer/lib/file_system/memory_file_system.dart
|
| @@ -14,7 +14,6 @@ import 'package:watcher/watcher.dart';
|
|
|
| import 'file_system.dart';
|
|
|
| -
|
| /**
|
| * An in-memory implementation of [ResourceProvider].
|
| * Use `/` as a path separator.
|
| @@ -163,11 +162,11 @@ class MemoryResourceProvider implements ResourceProvider {
|
| }
|
|
|
| void _notifyWatchers(String path, ChangeType changeType) {
|
| - _pathToWatchers.forEach(
|
| - (String watcherPath, List<StreamController<WatchEvent>> streamControllers) {
|
| + _pathToWatchers.forEach((String watcherPath,
|
| + List<StreamController<WatchEvent>> streamControllers) {
|
| if (posix.isWithin(watcherPath, path)) {
|
| - for (StreamController<WatchEvent> streamController in streamControllers)
|
| - {
|
| + for (StreamController<WatchEvent> streamController
|
| + in streamControllers) {
|
| streamController.add(new WatchEvent(changeType, path));
|
| }
|
| }
|
| @@ -175,7 +174,6 @@ class MemoryResourceProvider implements ResourceProvider {
|
| }
|
| }
|
|
|
| -
|
| /**
|
| * An in-memory implementation of [File] which acts like a symbolic link to a
|
| * non-existent file.
|
| @@ -210,7 +208,6 @@ class _MemoryDummyLink extends _MemoryResource implements File {
|
| }
|
| }
|
|
|
| -
|
| /**
|
| * An in-memory implementation of [File].
|
| */
|
| @@ -251,7 +248,6 @@ class _MemoryFile extends _MemoryResource implements File {
|
| }
|
| }
|
|
|
| -
|
| /**
|
| * An in-memory implementation of [Source].
|
| */
|
| @@ -326,7 +322,6 @@ class _MemoryFileSource extends Source {
|
| String toString() => _file.toString();
|
| }
|
|
|
| -
|
| /**
|
| * An in-memory implementation of [Folder].
|
| */
|
| @@ -407,7 +402,6 @@ class _MemoryFolder extends _MemoryResource implements Folder {
|
| }
|
| }
|
|
|
| -
|
| /**
|
| * An in-memory implementation of [Resource].
|
| */
|
|
|