Skip to content

Commit

Permalink
Implement setName() method
Browse files Browse the repository at this point in the history
  • Loading branch information
miachm committed Dec 11, 2023
1 parent 79c66d8 commit 3a45a31
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/com/github/miachm/sods/Sheet.java
Original file line number Diff line number Diff line change
Expand Up @@ -946,6 +946,14 @@ String getHashedAlgorithm()
return this.hash_algorithm;
}

/**
* Rename this sheet
* @param newName The new name of the sheet
*/
public void setName(String newName) {
this.name = newName;
}

/**
* Equals method, two sheets are considered the same if have the same name and the same content (include formatting)
* @param o The object to compare
Expand Down

0 comments on commit 3a45a31

Please sign in to comment.