Skip to content

Commit 802e622

Browse files
authored
Merge pull request #4 from cgajardo-simpli/MY-559
Fixing maluse of string.format
2 parents b8a093e + ab32cca commit 802e622

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/osrm/client/OSRMClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public OSRMDistanceResponse getDistanceMatrix(List<GeoLocation> locations, doubl
5656
.url(this.uri + "/table")
5757
.post(body)
5858
.addHeader("Content-Type", "application/x-www-form-urlencoded")
59-
.addHeader("Authorization", String.format(token))
59+
.addHeader("Authorization", token)
6060
.build();
6161

6262
try {

0 commit comments

Comments
 (0)