Skip to content

Commit e656ae4

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents a96bfb2 + fa0a51d commit e656ae4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/se/walkercrou/places/GooglePlaces.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ public List<Place> getNearbyPlaces(double lat, double lng, double radius, Param.
233233
@Override
234234
public List<Place> getNearbyPlacesRankedByDistance(double lat, double lng, int limit, Param... params) {
235235
try {
236-
String uri = buildUrl(METHOD_NEARBY_SEARCH, String.format("key=%s&location=%f,%f&rankby=distance",
236+
String uri = buildUrl(METHOD_NEARBY_SEARCH, String.format(Locale.ENGLISH, "key=%s&location=%f,%f&rankby=distance",
237237
apiKey, lat, lng), params);
238238
return getPlaces(uri, METHOD_NEARBY_SEARCH, limit);
239239
} catch (Exception e) {

0 commit comments

Comments
 (0)