Chromium Code Reviews| Index: pkg/analyzer/lib/src/context/cache.dart |
| diff --git a/pkg/analyzer/lib/src/context/cache.dart b/pkg/analyzer/lib/src/context/cache.dart |
| index 531f84fd2d91922760aa2719a7953774ac182be5..d9fada497b7f4c61b161e264b2ad32a98fb79d11 100644 |
| --- a/pkg/analyzer/lib/src/context/cache.dart |
| +++ b/pkg/analyzer/lib/src/context/cache.dart |
| @@ -158,7 +158,8 @@ class AnalysisCache { |
| */ |
| MapIterator<AnalysisTarget, CacheEntry> iterator() { |
| int count = _partitions.length; |
| - List<Map<AnalysisTarget, CacheEntry>> maps = new List<Map>(count); |
| + List<Map<AnalysisTarget, CacheEntry>> maps = |
|
vsm
2015/06/01 13:48:45
Consider dropping the type on the lhs side. We'll
|
| + new List<Map<AnalysisTarget, CacheEntry>>(count); |
| for (int i = 0; i < count; i++) { |
| maps[i] = _partitions[i].map; |
| } |