Fixed JavaDoc errors by adding missing @params

This commit is contained in:
Michael Rausch
2017-04-04 19:29:05 +12:00
parent dde4b2fcba
commit 9817fc9093
2 changed files with 9 additions and 2 deletions
+2 -2
View File
@@ -39,7 +39,7 @@ public class Race {
/**
* Returns a list of boats in a random order
*
* @returns a list of boats
* @return a list of boats
*/
public Boat[] getShuffledBoats() {
// Shuffle the list of boats
@@ -53,7 +53,7 @@ public class Race {
* Returns a list of boats in the order that they
* finished the race (position 0 is first place)
*
* @returns a list of boats
* @return a list of boats
*/
public Boat[] getFinishedBoats() {
return this.finishingOrder.toArray(new Boat[this.finishingOrder.size()]);