HHH-10715 The GeometryFactory field in Spatial's EnvelopeAdapter needs synchronization

This commit is contained in:
Sanne Grinovero 2020-10-25 21:23:05 +00:00
parent ad6584ff10
commit 5bc23aa964
1 changed files with 1 additions and 1 deletions

View File

@ -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() {
}