Skip to content

Commit

Permalink
alternative -> alternatives (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
zugaldia committed Apr 29, 2016
1 parent fb6643f commit c421591
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Call<DirectionsResponse> getCall(
@Path("profile") String profile,
@Path("coordinates") String coordinates,
@Query("access_token") String accessToken,
@Query("alternative") Boolean alternative,
@Query("alternatives") Boolean alternatives,
@Query("geometries") String geometries,
@Query("overview") String overview,
@Query("radiuses") String radiuses,
Expand All @@ -33,7 +33,7 @@ Observable<DirectionsResponse> getObservable(
@Path("profile") String profile,
@Path("coordinates") String coordinates,
@Query("access_token") String accessToken,
@Query("alternative") Boolean alternative,
@Query("alternatives") Boolean alternatives,
@Query("geometries") String geometries,
@Query("overview") String overview,
@Query("radiuses") String radiuses,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ private Call<DirectionsResponse> getCall() {
builder.getProfile(),
builder.getCoordinates(),
builder.getAccessToken(),
builder.isAlternative(),
builder.isAlternatives(),
builder.getGeometries(),
builder.getOverview(),
builder.getRadiuses(),
Expand Down Expand Up @@ -112,7 +112,7 @@ public Observable<DirectionsResponse> getObservable() {
builder.getProfile(),
builder.getCoordinates(),
builder.getAccessToken(),
builder.isAlternative(),
builder.isAlternatives(),
builder.getGeometries(),
builder.getOverview(),
builder.getRadiuses(),
Expand All @@ -134,7 +134,7 @@ public static class Builder extends MapboxBuilder {
private String profile = null;
private ArrayList<Position> coordinates = null;
private String accessToken = null;
private Boolean alternative = null;
private Boolean alternatives = null;
private String geometries = null;
private String overview = null;
private double[] radiuses = null;
Expand Down Expand Up @@ -227,8 +227,8 @@ public Builder setAccessToken(String accessToken) {
return this;
}

public Builder setAlternative(Boolean alternative) {
this.alternative = alternative;
public Builder setAlternatives(Boolean alternatives) {
this.alternatives = alternatives;
return this;
}

Expand Down Expand Up @@ -290,8 +290,8 @@ public String getAccessToken() {
return accessToken;
}

public Boolean isAlternative() {
return alternative;
public Boolean isAlternatives() {
return alternatives;
}

public String getGeometries() {
Expand Down

0 comments on commit c421591

Please sign in to comment.