Remove deprecated FileResolver.collectSharedDataIdentifiers()
Change-Id: I9f73dcbc9d6a4db1add218ba17182b98d28d21a2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/383428
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
diff --git a/pkg/analyzer/lib/src/dart/micro/resolve_file.dart b/pkg/analyzer/lib/src/dart/micro/resolve_file.dart
index 0f97dd8..ea44e25 100644
--- a/pkg/analyzer/lib/src/dart/micro/resolve_file.dart
+++ b/pkg/analyzer/lib/src/dart/micro/resolve_file.dart
@@ -244,14 +244,6 @@
releaseAndClearRemovedIds();
}
- /// Collects all the cached artifacts and add all the cache id's for the
- /// removed artifacts to [removedCacheKeys].
- @Deprecated('Use dispose() instead')
- void collectSharedDataIdentifiers() {
- removedCacheKeys.addAll(fsState!.dispose());
- removedCacheKeys.addAll(libraryContext!.dispose());
- }
-
/// Notifies this object that it is about to be discarded, so it should
/// release any shared data.
void dispose() {