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 3c36bbaf7a
commit 3a54735419
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() {
}