summaryrefslogtreecommitdiff
path: root/src/Q4/BanffMarathonRunner.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/Q4/BanffMarathonRunner.java')
-rw-r--r--src/Q4/BanffMarathonRunner.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Q4/BanffMarathonRunner.java b/src/Q4/BanffMarathonRunner.java
index e9c68cf..e1598fa 100644
--- a/src/Q4/BanffMarathonRunner.java
+++ b/src/Q4/BanffMarathonRunner.java
@@ -35,7 +35,7 @@ public class BanffMarathonRunner extends AddressBook {
* the marathon. Because java generics does not allow implementing a generic interface with
* different type parameters, this code assumes the AddressBook is an instance of a Runner.
*
- * @param AddressBook the other runner to compare against
+ * @param other the other runner to compare against
* @return a negative integer, zero, or a positive integer as the first argument is less than,
* equal to, or greater than the second.
*/
@@ -91,7 +91,7 @@ public class BanffMarathonRunner extends AddressBook {
/**
* Returns the runners that finished the marathon in above or equal to average time.
*
- * @param the list of runners
+ * @param runners the list of runners
* @return the list of runners that finished the marathon in above average time.
*/
public static String getAboveAverageRunners(BanffMarathonRunner[] runners) {