* @param newCell the new Cell
*/
public void replace(final int idx, final Cell newCell) {
- chars[idx] = newCell;
+ chars[idx].setTo(newCell);
}
/**
}
/**
- * Delete character at the specified position, filling in new characters
- * on the right with newCell.
+ * Delete character at the specified position, filling in the new
+ * character on the right with newCell.
*
* @param idx the character index
* @param newCell the new Cell