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

Unified Diff: pkg/analysis_server/lib/src/plugin/result_collector.dart

Issue 2685613002: Use toList to copy lists and clean up errors and warnings (Closed)
Patch Set: Created 3 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
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/plugin/result_merger.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/src/plugin/result_collector.dart
diff --git a/pkg/analysis_server/lib/src/plugin/result_collector.dart b/pkg/analysis_server/lib/src/plugin/result_collector.dart
index bb142842cdd378fc92f053f450796dfc2fb02776..d5491b97e91909489ccfa619d7a5e9dcd55a293b 100644
--- a/pkg/analysis_server/lib/src/plugin/result_collector.dart
+++ b/pkg/analysis_server/lib/src/plugin/result_collector.dart
@@ -49,7 +49,7 @@ class ResultCollector<E> {
* Return an iterator producing the partial results that have been contributed
* for the given [filePath].
*/
- Iterable<E> getResults(String filePath) {
+ List<E> getResults(String filePath) {
Map<String, E> partialResultMap = resultMap[filePath];
if (partialResultMap == null) {
return <E>[];
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/plugin/result_merger.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698