class GeometryEdit {

    public static Geometry removeHole(Geometry geometry) {
        if (geometry instanceof Polygon) {
            return removeHolePolygon((Polygon) geometry);
        } else if (geometry instanceof MultiPolygon) {
            return removeHoleMultiPolygon((MultiPolygon) geometry);
        }
        return null;
    }

    private  GeometryEdit();

}