mirror of
https://github.com/spring-projects/spring-data-elasticsearch.git
synced 2025-06-24 13:02:10 +00:00
parent
61176940cb
commit
7f5bfffc34
@ -17,6 +17,7 @@ package org.springframework.data.elasticsearch.utils.geohash;
|
|||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
|
import java.util.Locale;
|
||||||
|
|
||||||
import org.springframework.util.Assert;
|
import org.springframework.util.Assert;
|
||||||
|
|
||||||
@ -84,7 +85,7 @@ public class Geohash {
|
|||||||
Assert.notNull(geohash, "geohash must not be null");
|
Assert.notNull(geohash, "geohash must not be null");
|
||||||
|
|
||||||
var point = Geohash.toPoint(geohash);
|
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