File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
main/java/com/mapzen/android/routing
test/java/com/mapzen/android/routing Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ task checkstyle(type: Checkstyle) {
58
58
59
59
dependencies {
60
60
compile project(' :core' )
61
- compile (' com.mapzen:on-the-road:1.2 .0' ) {
61
+ compile (' com.mapzen:on-the-road:1.3 .0' ) {
62
62
exclude group : ' com.squareup.retrofit2' , module : ' converter-gson'
63
63
}
64
64
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ public MapzenRouter setLocation(double[] point) {
125
125
* @param point
126
126
* @return
127
127
*/
128
- public MapzenRouter setLocation (double [] point , float heading ) {
128
+ public MapzenRouter setLocation (double [] point , int heading ) {
129
129
internalRouter .setLocation (point , heading );
130
130
return this ;
131
131
}
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ public class MapzenRouterTest {
77
77
double [] point = {70.0 , 30.0 };
78
78
router .setLocation (point );
79
79
verify (router .getRouter ()).setLocation (point );
80
- float heading = 1.5f ;
80
+ int heading = 1 ;
81
81
router .setLocation (point , heading );
82
82
verify (router .getRouter ()).setLocation (point , heading );
83
83
String name = "Num Pang Sandwich" ;
You can’t perform that action at this time.
0 commit comments