| 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 10b85b75d9819f031471c8920353ef25bf0cf411..afe021626062dab159e58d4ebd91a185f7e631e1 100644
|
| --- a/pkg/analyzer/lib/src/context/cache.dart
|
| +++ b/pkg/analyzer/lib/src/context/cache.dart
|
| @@ -40,9 +40,9 @@ class AnalysisCache {
|
| final ReentrantSynchronousStream<InvalidatedResult> onResultInvalidated =
|
| new ReentrantSynchronousStream<InvalidatedResult>();
|
|
|
| - final List<
|
| - ReentrantSynchronousStreamSubscription> onResultInvalidatedPartitionSubscriptions = <
|
| - ReentrantSynchronousStreamSubscription>[];
|
| + final List<ReentrantSynchronousStreamSubscription>
|
| + onResultInvalidatedPartitionSubscriptions =
|
| + <ReentrantSynchronousStreamSubscription>[];
|
|
|
| /**
|
| * Initialize a newly created cache to have the given [_partitions]. The
|
| @@ -384,7 +384,7 @@ class CacheEntry {
|
| * Return the value of the result represented by the given [descriptor], or
|
| * the default value for the result if this entry does not have a valid value.
|
| */
|
| - /*<V>*/ dynamic /*V*/ getValue(ResultDescriptor /*<V>*/ descriptor) {
|
| + dynamic /*=V*/ getValue /*<V>*/ (ResultDescriptor /*<V>*/ descriptor) {
|
| ResultData data = _resultMap[descriptor];
|
| if (data == null) {
|
| return descriptor.defaultValue;
|
| @@ -482,11 +482,8 @@ class CacheEntry {
|
| * Set the value of the result represented by the given [descriptor] to the
|
| * given [value].
|
| */
|
| - /*<V>*/ void setValue(
|
| - ResultDescriptor /*<V>*/ descriptor,
|
| - dynamic /*V*/
|
| - value,
|
| - List<TargetedResult> dependedOn) {
|
| + void setValue /*<V>*/ (ResultDescriptor /*<V>*/ descriptor,
|
| + dynamic /*=V*/ value, List<TargetedResult> dependedOn) {
|
| // {
|
| // String valueStr = '$value';
|
| // if (valueStr.length > 20) {
|
|
|