Skip to content

Commit 124565f

Browse files
author
Langston Smith
authored
javadocs additions/tweaks (#883)
1 parent 9fa87fb commit 124565f

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

  • services-directions/src/main/java/com/mapbox/api/directions/v5/models
  • services-speech/src/main/java/com/mapbox/api/speech/v1

services-directions/src/main/java/com/mapbox/api/directions/v5/models/MaxSpeed.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ public abstract static class Builder {
112112
* Number indicating the posted speed limit.
113113
*
114114
* @param speed indicating the posted speed limit
115+
* @return a {@link Builder} object
115116
* @since 3.0.0
116117
*/
117118
public abstract Builder speed(@Nullable Integer speed);
@@ -120,6 +121,7 @@ public abstract static class Builder {
120121
* String indicating the unit of speed, either as `km/h` or `mph`.
121122
*
122123
* @param unit either as `km/h` or `mph`
124+
* @return a {@link Builder} object
123125
* @since 3.0.0
124126
*/
125127
public abstract Builder unit(@Nullable String unit);
@@ -128,6 +130,7 @@ public abstract static class Builder {
128130
* Boolean is true if the speed limit is not known, otherwise null.
129131
*
130132
* @param unknown true if speed limit is not known, otherwise null
133+
* @return a {@link Builder} object
131134
* @since 3.0.0
132135
*/
133136
public abstract Builder unknown(@Nullable Boolean unknown);
@@ -136,6 +139,7 @@ public abstract static class Builder {
136139
* Boolean is `true` if the speed limit is unlimited, otherwise null.
137140
*
138141
* @param none true if speed limit is unlimited, otherwise null
142+
* @return a {@link Builder} object
139143
* @since 3.0.0
140144
*/
141145
public abstract Builder none(@Nullable Boolean none);

services-speech/src/main/java/com/mapbox/api/speech/v1/MapboxSpeech.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import retrofit2.Call;
1919

2020
/**
21-
* The Speech API is a text-to-speech APi with a server-side caching layer in front of AWS Polly.
21+
* The Speech API is a text-to-speech API with a server-side caching layer in front of AWS Polly.
2222
* The only requirements are text to dictate, and a Mapbox access token. For 3-step-ahead
2323
* client-side caching, cache directory is required.
2424
*

0 commit comments

Comments
 (0)