Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
testower committed Sep 6, 2024
1 parent ae3807e commit 88b8ac8
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,7 @@ public Collection<Vehicle> getVehicles(
boundingBoxQueryParameters,
filterParams
);
} else if (range != null && lat != null && lon != null) {
// add conditional to verify range search
} else if (isRangeSearch(range, lat, lon)) {
validateRange(range);

var rangeQueryParameters = new RangeQueryParameters();
Expand Down Expand Up @@ -196,7 +195,6 @@ public Collection<Station> getStations(
maximumLongitude
)
) {
// TODO validate params, e.g. [(170,60), (-170,70)]
var boundingBoxQueryParameters = new BoundingBoxQueryParameters();
boundingBoxQueryParameters.setMinimumLatitude(minimumLatitude);
boundingBoxQueryParameters.setMinimumLongitude(minimumLongitude);
Expand Down

0 comments on commit 88b8ac8

Please sign in to comment.