Aklakan commented on code in PR #3027:
URL: https://github.com/apache/jena/pull/3027#discussion_r2068602701
##########
jena-geosparql/src/test/java/org/apache/jena/geosparql/spatial/SpatialIndexTestData.java:
##########
@@ -60,21 +71,28 @@ public class SpatialIndexTestData {
public static final SRSInfo WGS_84_SRS_INFO = new
SRSInfo(SRS_URI.WGS84_CRS);
public static final SRSInfo OSGB_SRS_INFO = new
SRSInfo(SRS_URI.OSGB36_CRS);
- private static SpatialIndex TEST_SPATIAL_INDEX = null;
+ private static SpatialIndexPerGraph TEST_SPATIAL_INDEX = null;
private static Dataset TEST_DATASET = null;
- public static final SpatialIndex createTestIndex() {
+ public static final List<SpatialIndexItem> getTestItems() {
+ List<SpatialIndexItem> items = List.of(
+ SpatialIndexItem.of(LONDON_GEOMETRY_WRAPPER.getEnvelope(),
LONDON_FEATURE),
Review Comment:
Added `.asNode()` as suggested.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]