whitespace cleanup (#14458)

This commit is contained in:
Alexandre Ardhuin
2018-02-05 22:20:21 +01:00
committed by GitHub
parent f5dea9325b
commit 3c379aaf43
17 changed files with 44 additions and 44 deletions

View File

@@ -238,7 +238,7 @@ class UpdatePackagesCommand extends FlutterCommand {
final List<_DependencyLink> paths = <_DependencyLink>[];
traversalQueue.addFirst(new _DependencyLink(from: null, to: from));
while(traversalQueue.isNotEmpty) {
while (traversalQueue.isNotEmpty) {
final _DependencyLink link = traversalQueue.removeLast();
if (link.to == to)
paths.add(link);

View File

@@ -65,7 +65,7 @@ List<Plugin> _findPlugins(String directory) {
try {
final String packagesFile = fs.path.join(directory, PackageMap.globalPackagesPath);
packages = new PackageMap(packagesFile).map;
} on FormatException catch(e) {
} on FormatException catch (e) {
printTrace('Invalid .packages file: $e');
return plugins;
}

View File

@@ -1045,7 +1045,7 @@ class Isolate extends ServiceObjectOwner {
}
final Map<String, dynamic> response = await invokeRpcRaw('_reloadSources', params: arguments);
return response;
} on rpc.RpcException catch(e) {
} on rpc.RpcException catch (e) {
return new Future<Map<String, dynamic>>.error(<String, dynamic>{
'code': e.code,
'message': e.message,