You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
LatLngBounds constructor is package private. It is used by LatLngBounds.Builder() and by LatLngBounds.from() method. Builder does parameter validation while LatLngBounds.from() does not.
The same parameter validation should be added as is done in the Builder via LatLng() constructor. See LatLng's setLatitude() and setLongitude() methods.
New tests should be added to LatLngBoundsTest as are done in LatLngTest - see Constructor tests.
LatLngBounds(double, double, double,double) constructor does not validate its parameters.
should northLatitude >= southLatitude and eastLongitude >= westLongitude?
Should we through and IAE?
Should we compare agains GeoConstants Max, Min values?
Should use the Max, Min or throw IAE if that is not the case?
If values are passed in as wrapped? Do change into non-wrapped or do we min/max?
The text was updated successfully, but these errors were encountered: