Index: pkg/analyzer/lib/src/context/context.dart |
diff --git a/pkg/analyzer/lib/src/context/context.dart b/pkg/analyzer/lib/src/context/context.dart |
index 3452582b55b1f323f94ea0340c57eb65fa7aa99b..303101b8edf861b3ab38d86f8db829e137a35a32 100644 |
--- a/pkg/analyzer/lib/src/context/context.dart |
+++ b/pkg/analyzer/lib/src/context/context.dart |
@@ -1311,19 +1311,6 @@ class AnalysisContextImpl implements InternalAnalysisContext { |
} |
/** |
- * Return `true` if the given list of [sources] contains any of the given |
- * [targetSources]. |
- */ |
- bool _containsAny(List<Source> sources, List<Source> targetSources) { |
- for (Source targetSource in targetSources) { |
- if (_contains(sources, targetSource)) { |
- return true; |
- } |
- } |
- return false; |
- } |
- |
- /** |
* Set the contents of the given [source] to the given [contents] and mark the |
* source as having changed. The additional [offset], [oldLength] and |
* [newLength] information is used by the context to determine what reanalysis |