| Index: pkg/analyzer/lib/src/generated/index.dart
|
| diff --git a/pkg/analyzer/lib/src/generated/index.dart b/pkg/analyzer/lib/src/generated/index.dart
|
| index 544f582cc601bd7b831f5abf51cd9d546ce67532..4eda02cb42dbaf96d7d2b11eea310a53c5497feb 100644
|
| --- a/pkg/analyzer/lib/src/generated/index.dart
|
| +++ b/pkg/analyzer/lib/src/generated/index.dart
|
| @@ -17,6 +17,7 @@ import 'element.dart';
|
| import 'resolver.dart' show Namespace, NamespaceBuilder;
|
| import 'engine.dart';
|
| import 'html.dart' as ht;
|
| +import 'utilities_collection.dart';
|
|
|
| /**
|
| * Instances of the [RemoveSourceOperation] implement an operation that removes from the index
|
| @@ -1504,9 +1505,9 @@ class IndexContributor extends GeneralizingAstVisitor<Object> {
|
| importElementsMap[importElement] = elements;
|
| }
|
| // use import namespace to choose correct one
|
| - for (MapEntry<ImportElement, Set<Element>> entry in getMapEntrySet(importElementsMap)) {
|
| - if (entry.getValue().contains(usedElement)) {
|
| - return entry.getKey();
|
| + for (MapIterator<ImportElement, Set<Element>> iter = SingleMapIterator.forMap(importElementsMap); iter.moveNext();) {
|
| + if (iter.value.contains(usedElement)) {
|
| + return iter.key;
|
| }
|
| }
|
| // not found
|
|
|