Chromium Code Reviews| Index: pkg/analysis_server/lib/src/status/get_handler.dart |
| diff --git a/pkg/analysis_server/lib/src/status/get_handler.dart b/pkg/analysis_server/lib/src/status/get_handler.dart |
| index a65b1610852e24e5585f7d35f58eb80f0934a40b..e2f18e04b280a4b4ac57a8c36024648003a1ffa4 100644 |
| --- a/pkg/analysis_server/lib/src/status/get_handler.dart |
| +++ b/pkg/analysis_server/lib/src/status/get_handler.dart |
| @@ -646,8 +646,8 @@ class GetHandler { |
| int implicitSourceCount = 0; |
| int implicitLineInfoCount = 0; |
| int implicitLineCount = 0; |
| - analysisServer.folderMap |
| - .forEach((Folder folder, InternalAnalysisContext context) { |
| + for (InternalAnalysisContext context |
| + in analysisServer.analysisContexts) { |
| Set<Source> explicitSources = new HashSet<Source>(); |
| Set<Source> implicitSources = new HashSet<Source>(); |
| AnalysisCache cache = context.analysisCache; |
| @@ -708,7 +708,8 @@ class GetHandler { |
| explicitLineCount += lineCount(explicitSources, true); |
| implicitSourceCount += implicitSources.length; |
| implicitLineCount += lineCount(implicitSources, false); |
| - }); |
| + } |
| + ; |
|
scheglov
2016/02/29 19:03:37
Remove this line.
Brian Wilkerson
2016/02/29 20:45:11
Done
|
| List<String> sourceTypeNames = sourceTypeCounts.keys.toList(); |
| sourceTypeNames.sort(); |
| List<String> typeNames = typeCounts.keys.toList(); |
| @@ -1354,7 +1355,7 @@ class GetHandler { |
| int processorCount = errorProcessors?.length ?? 0; |
| buffer.write('<p><b>Error Processor count</b>: $processorCount</p>'); |
| }); |
| - |
| + |
| SourceFactory sourceFactory = context.sourceFactory; |
| if (sourceFactory is SourceFactoryImpl) { |
| buffer.write('<h3>Resolvers</h3>'); |