komoot / photon

an open source geocoder for openstreetmap data
Apache License 2.0
1.92k stars 281 forks source link

Get rid of Guava dependency #652

Closed lonvia closed 2 years ago

lonvia commented 2 years ago

Most of the constructs that Photon uses from guava have a equivalent built-ins in Java 8+. So no need to keep this dependency around.

The handling of sets in the tests for PhotonRequestFactory becomes a bit awkward. That's better fixed with improving the interface of PhotonRequest, though.