HHH-10715 The GeometryFactory field in Spatial's EnvelopeAdapter needs synchronization
This commit is contained in:
parent
3c36bbaf7a
commit
3a54735419
|
@ -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