final int srid = geom.getFactory().getSRID();
final int srid = geom.getSRID();
    private boolean checkSrid(Geometry geom) {        final int srid = geom.getFactory().getSRID();        // SRID is default 0 with jts geometries        return (srid != -1) && (srid != 0);    }