Index: pkg/analysis_server/lib/src/services/index/store/split_store.dart |
diff --git a/pkg/analysis_server/lib/src/services/index/store/split_store.dart b/pkg/analysis_server/lib/src/services/index/store/split_store.dart |
index bde1d08689e96a1ba6821d810250d887c0bd9410..594e18d89e5f79cca06cfdfafe0a76b3cda70e5e 100644 |
--- a/pkg/analysis_server/lib/src/services/index/store/split_store.dart |
+++ b/pkg/analysis_server/lib/src/services/index/store/split_store.dart |
@@ -283,7 +283,7 @@ class IndexNode { |
// find LocationData(s) |
List<LocationData> locationDatas = _relations[key]; |
if (locationDatas == null) { |
- return LocationImpl.EMPTY_ARRAY; |
+ return LocationImpl.EMPTY_LIST; |
} |
// convert to Location(s) |
List<LocationImpl> locations = <LocationImpl>[]; |
@@ -733,7 +733,7 @@ class SplitIndexStore implements InternalIndexStore { |
Future<List<LocationImpl>> locationsFuture = nodeFuture.then((node) { |
if (node == null) { |
// TODO(scheglov) remove node |
- return LocationImpl.EMPTY_ARRAY; |
+ return LocationImpl.EMPTY_LIST; |
} |
return node.getRelationships(element, relationship); |
}); |