Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Incorrect error message in LatLngBounds.java #12815

Closed
clydebarrow opened this issue Sep 5, 2018 · 1 comment · Fixed by #12816
Closed

Incorrect error message in LatLngBounds.java #12815

clydebarrow opened this issue Sep 5, 2018 · 1 comment · Fixed by #12816
Labels
Android Mapbox Maps SDK for Android

Comments

@clydebarrow
Copy link
Contributor

In file com/mapbox/mapboxsdk/geometry/LatLngBounds.java, line 334, the error message is the wrong way around:

    if (latNorth < latSouth) {
      throw new IllegalArgumentException("LatSouth cannot be less than latNorth");
    }

Mapbox SDK versions: 6.4.0

@tobrun tobrun added the Android Mapbox Maps SDK for Android label Sep 5, 2018
@tobrun
Copy link
Member

tobrun commented Sep 5, 2018

great catch, will fix this up

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants