public static void setSridRecurse(final Geometry result, final int srid) { result.setSRID(srid); if (result instanceof GeometryCollection) { final int subcnt = result.getNumGeometries();
public static void setSridRecurse(final Geometry geom, final int srid) { geom.setSRID(srid); if (geom instanceof GeometryCollection) { final int subcnt = geom.getNumGeometries();
    public static void setSridRecurse(final Geometry result, final int srid) {        result.setSRID(srid);        if (result instanceof GeometryCollection) {            final int subcnt = result.getNumGeometries();            for (int i = 0; i < subcnt; i++) {                setSridRecurse(result.getGeometryN(i), srid);            }        }    }