Repository navigation
GeographicCoordinate 5.0.0
Release 5.0.0 (April 10, 2024)
- Removed dependencies on my external
BuildScriptsandNumberUtilprojects - Retargeted at Java 17 + Gradle 8.0
- Upgraded to JUnit 5
- Upgraded Mockito
- The internals are updated to use modern Java features
- Removed reflection from the compass direction internals
- Added Spotbugs to the build script
Breaking changes:
Latitude,LongitudeandPointare now records rather than classes (getter names changed, can no longer be extended)AbstractGeographicCoordinatehas been removed, as well as the exception constants in its nestedMessagesclassIllegalArgumentExceptionhas replacedGeographicCoordinateException.GeographicCoordinateExceptionhas been removed.- Exception messages have changed
toString(Locale)has been removed in favor oftoString(). Apparently the international standard is to use U.S. formatting for coordinates.- The
EnumHelperAPI has changed (you weren't using an API that was labeled internal, were you? 👀) Latitude.MAX_VALUEandLongitude.MAX_VALUEhave been changed to doubles