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

Unified Diff: pkg/analyzer/lib/file_system/memory_file_system.dart

Issue 975453004: Reformat (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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
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].
*/
« no previous file with comments | « pkg/analyzer/lib/file_system/file_system.dart ('k') | pkg/analyzer/lib/file_system/physical_file_system.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698