Skip to content

Commit

Permalink
Update CollectionsResponse.java
Browse files Browse the repository at this point in the history
  • Loading branch information
ghobona committed Oct 21, 2022
1 parent 27033ab commit 67d8e30
Showing 1 changed file with 7 additions and 5 deletions.
Expand Up @@ -409,11 +409,13 @@ public void verifyCollectionsMetadata() {
private boolean checkExtentInCollection(JsonPath jsonPathCol)
{

HashMap extentMap = (HashMap) jsonPathCol.get("extent");

HashMap spatialMap = (HashMap) extentMap.get("spatial");

return spatialMap.containsKey("bbox");
HashMap extentMap = (HashMap) jsonPathCol.get("extent");

return extentMap.containsKey("spatial");

// Deactivated because of changes between v1.0.0 and v1.0.1
//HashMap spatialMap = (HashMap) extentMap.get("spatial");
//return spatialMap.containsKey("bbox");

}
/*
Expand Down

0 comments on commit 67d8e30

Please sign in to comment.