| Index: pkg/analysis_services/lib/src/index/store/codec.dart
|
| diff --git a/pkg/analysis_services/lib/src/index/store/codec.dart b/pkg/analysis_services/lib/src/index/store/codec.dart
|
| index 9153e6988f00d814d2231c0b4f692081dd01537d..108f93672ee5deeabab0eef3cc892a964d60a9c8 100644
|
| --- a/pkg/analysis_services/lib/src/index/store/codec.dart
|
| +++ b/pkg/analysis_services/lib/src/index/store/codec.dart
|
| @@ -19,14 +19,14 @@ class ContextCodec {
|
| /**
|
| * A table mapping contexts to their unique indices.
|
| */
|
| - Map<AnalysisContext, int> _contextToIndex = new HashMap<AnalysisContext, int>(
|
| - );
|
| + Map<AnalysisContext, int> _contextToIndex =
|
| + new HashMap<AnalysisContext, int>();
|
|
|
| /**
|
| * A table mapping indices to the corresponding contexts.
|
| */
|
| - Map<int, AnalysisContext> _indexToContext = new HashMap<int, AnalysisContext>(
|
| - );
|
| + Map<int, AnalysisContext> _indexToContext =
|
| + new HashMap<int, AnalysisContext>();
|
|
|
| /**
|
| * The next id to assign.
|
| @@ -92,7 +92,8 @@ class ElementCodec {
|
| List<int> path = _indexToPath[index];
|
| List<String> components = _getLocationComponents(path);
|
| ElementLocation location = new ElementLocationImpl.con3(components);
|
| - return context.getElement(location);
|
| + Element element = context.getElement(location);
|
| + return element;
|
| }
|
|
|
| /**
|
|
|