Skip to content

Commit

Permalink
Add a to string to the VitaminLocation
Browse files Browse the repository at this point in the history
  • Loading branch information
madhephaestus committed Dec 8, 2024
1 parent cf9ccba commit a359eb8
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,9 @@ public static String getAllXML(ArrayList<VitaminLocation> list) {
return vitamins+"\n\t</vitamins>\n";

}
public String toString() {
return getXML();
}

/**
* @return the name
Expand Down

0 comments on commit a359eb8

Please sign in to comment.