File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/main/scala/com/guizmaii/distances Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ More infos about this file : http://keepachangelog.com/
66
77## [ Unreleased] - no_due_date
88
9+ - ** Distance ordering should not be hard coded**
10+
911## [ v0.3.1] - 2018.01.19
1012
1113- ** Small optimisation: Do not call the geocoder if origin == destination**
Original file line number Diff line number Diff line change @@ -14,9 +14,7 @@ object Types {
1414
1515 final case class LatLong (latitude : Double , longitude : Double )
1616
17- final case class Distance (length : Length , duration : Duration ) extends Ordered [Distance ] {
18- override def compare (that : Distance ): Int = this .duration.compareTo(that.duration)
19- }
17+ final case class Distance (length : Length , duration : Duration )
2018
2119 object Distance {
2220 private [distances] def apply (s : SerializableDistance ): Distance =
You can’t perform that action at this time.
0 commit comments