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 c12262d5b0bd406f7dc029e4b2c5c66253493499..d45c72986b4e832bcf215213027c70f9b87d325e 100644 |
--- a/pkg/analyzer/lib/src/context/cache.dart |
+++ b/pkg/analyzer/lib/src/context/cache.dart |
@@ -12,7 +12,6 @@ import 'package:analyzer/src/generated/engine.dart' |
import 'package:analyzer/src/generated/java_engine.dart'; |
import 'package:analyzer/src/generated/source.dart'; |
import 'package:analyzer/src/generated/utilities_collection.dart'; |
-import 'package:analyzer/src/generated/utilities_general.dart'; |
import 'package:analyzer/src/task/model.dart'; |
import 'package:analyzer/task/model.dart'; |
@@ -1117,46 +1116,6 @@ class SdkCachePartition extends CachePartition { |
} |
/** |
- * A specification of a specific result computed for a specific target. |
- */ |
-class TargetedResult { |
- /** |
- * An empty list of results. |
- */ |
- static final List<TargetedResult> EMPTY_LIST = const <TargetedResult>[]; |
- |
- /** |
- * The target with which the result is associated. |
- */ |
- final AnalysisTarget target; |
- |
- /** |
- * The result associated with the target. |
- */ |
- final ResultDescriptor result; |
- |
- /** |
- * Initialize a new targeted result. |
- */ |
- TargetedResult(this.target, this.result); |
- |
- @override |
- int get hashCode { |
- return JenkinsSmiHash.combine(target.hashCode, result.hashCode); |
- } |
- |
- @override |
- bool operator ==(other) { |
- return other is TargetedResult && |
- other.target == target && |
- other.result == result; |
- } |
- |
- @override |
- String toString() => '$result for $target'; |
-} |
- |
-/** |
* A cache partition that contains all targets not contained in other partitions. |
*/ |
class UniversalCachePartition extends CachePartition { |