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

Unified Diff: pkg/analyzer/lib/src/generated/engine.dart

Issue 634093002: Restore AnalysisDeltaTest in Dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 2 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/analyzer/test/generated/resolver_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/generated/engine.dart
diff --git a/pkg/analyzer/lib/src/generated/engine.dart b/pkg/analyzer/lib/src/generated/engine.dart
index 7a8f9332773687689bbf1a9a02ef91438be01a70..53e8644c7658aff34bd1093e15c96bfef1db28cb 100644
--- a/pkg/analyzer/lib/src/generated/engine.dart
+++ b/pkg/analyzer/lib/src/generated/engine.dart
@@ -5898,13 +5898,13 @@ class AnalysisDelta {
*
* @return a collection of the sources
*/
- Iterable<Source> get addedSources {
+ List<Source> get addedSources {
List<Source> result = new List<Source>();
- for (MapEntry<Source, AnalysisLevel> entry in getMapEntrySet(_analysisMap)) {
- if (entry.getValue() != AnalysisLevel.NONE) {
- result.add(entry.getKey());
+ _analysisMap.forEach((Source source, AnalysisLevel level) {
+ if (level != AnalysisLevel.NONE) {
+ result.add(source);
}
- }
+ });
return result;
}
« no previous file with comments | « no previous file | pkg/analyzer/test/generated/resolver_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698