code: public static Geometry removeRepeatedPoints(Geometry geometry) throws SQLException, SQLException, SQLException, SQLException {
          return removeDuplicateCoordinates(geometry, 0);
      }
docs: Returns a version of the given geometry with duplicated points removed.
  
  @param geometry
  @return
  @throws java.sql.SQLException