Skip to content

Commit ba9bfd4

Browse files
committed
Avoiding serializing GeometryCollectionCache
1 parent 071d12b commit ba9bfd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/core/src/main/java/org/locationtech/jts/geom/GeometryCollection.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public class GeometryCollection extends Geometry {
3131
* Internal representation of this <code>GeometryCollection</code>.
3232
*/
3333
protected Geometry[] geometries;
34-
private GeometryCollectionDimension geomCollDim;
34+
private transient GeometryCollectionDimension geomCollDim;
3535

3636
/** @deprecated Use GeometryFactory instead */
3737
public GeometryCollection(Geometry[] geometries, PrecisionModel precisionModel, int SRID) {

0 commit comments

Comments
 (0)