HHH-10715 The GeometryFactory field in Spatial's EnvelopeAdapter needs synchronization
This commit is contained in:
parent
ad6584ff10
commit
5bc23aa964
|
@ -17,7 +17,7 @@ import org.locationtech.jts.geom.Polygon;
|
|||
*/
|
||||
public class EnvelopeAdapter {
|
||||
|
||||
private static GeometryFactory geomFactory = new GeometryFactory();
|
||||
private static volatile GeometryFactory geomFactory = new GeometryFactory();
|
||||
|
||||
private EnvelopeAdapter() {
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue