Skip to content

Commit ed56be1

Browse files
documentation clarification (#1574)
1 parent 15b6ae3 commit ed56be1

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

services-matching/src/main/java/com/mapbox/api/matching/v5/MapboxMapMatching.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,8 @@ public static Builder builder() {
280280

281281
/**
282282
* Builds your map matching query by adding parameters.
283+
* Create a fresh instance of the builder for new requests given the fact that
284+
* some methods like {@link #coordinates(List)} accumulate values.
283285
*
284286
* @since 2.0.0
285287
*/

services-matrix/src/main/java/com/mapbox/api/matrix/v1/MapboxMatrix.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,12 @@ public static Builder builder() {
123123
* <p>
124124
* By default, the directions profile is set to driving (without traffic) but can be changed to
125125
* reflect your users use-case.
126-
* </p><p>
126+
* </p>
127+
* <p>
128+
* Create a fresh instance of the builder for new requests given the fact that
129+
* some methods like {@link #coordinates(List)} accumulate values.
130+
* </p>
131+
* <p>
127132
* Note to contributors: All optional booleans in this builder use the object {@code Boolean}
128133
* rather than the primitive to allow for unset (null) values.
129134
* </p>

0 commit comments

Comments
 (0)