mirror of
https://github.com/spring-projects/spring-data-elasticsearch.git
synced 2025-06-23 20:42:11 +00:00
parent
61176940cb
commit
7f5bfffc34
@ -17,6 +17,7 @@ package org.springframework.data.elasticsearch.utils.geohash;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.Locale;
|
||||
|
||||
import org.springframework.util.Assert;
|
||||
|
||||
@ -84,7 +85,7 @@ public class Geohash {
|
||||
Assert.notNull(geohash, "geohash must not be null");
|
||||
|
||||
var point = Geohash.toPoint(geohash);
|
||||
return String.format("%f,%f", point.getLat(), point.getLon());
|
||||
return String.format(Locale.ROOT, "%f,%f", point.getLat(), point.getLon());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user