Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public DistanceMatrixApiRequest units(Unit unit) {
}

/**
* The departure time may be specified by Maps for Business customers for to specify the
* The departure time may be specified by Maps for Work customers for to specify the
* departure time to receive trip duration considering current traffic conditions. The
* departure time must be set to within a few minutes of the current time.
*
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/google/maps/GeoApiContext.java
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ private <T, R extends ApiResponse<T>> PendingResult<T> getWithPath(Class<R> claz
private void checkContext() {
if (urlSigner == null && apiKey == null) {
throw new IllegalStateException(
"Must provide either API key or Maps for Business credentials.");
"Must provide either API key or Maps for Work credentials.");
}
if (urlSigner == null && !apiKey.startsWith("AIza")) {
throw new IllegalStateException("Invalid API key.");
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/google/maps/internal/UrlSigner.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import javax.crypto.spec.SecretKeySpec;

/**
* Utility class for supporting Maps for Business Digital signatures.
* Utility class for supporting Maps for Work Digital signatures.
*
* <p>See {@url https://developers.google.com/maps/documentation/business/webservices/auth#digital_signatures}
* for more detail on this protocol.
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/google/maps/model/DirectionsLeg.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public class DirectionsLeg {
* <ol>
* <li>The directions request includes a departureTime parameter set to a value within a few
* minutes of the current time.</li>
* <li>The request includes a valid Maps for Business client and signature parameter.</li>
* <li>The request includes a valid Maps for Work client and signature parameter.</li>
* <li>Traffic conditions are available for the requested route.</li>
* <li>The directions request does not include stopover waypoints.</li>
* </ol>
Expand Down