diff --git a/src/main/java/org/example/scoreboard/api/IScoreboard.java b/src/main/java/org/example/scoreboard/api/IScoreboard.java index 8024fba7e69034d2b7f5fec1808af7e13ecd2067..ccd163dbd00884f1f026541720c617ad67e5c1ba 100644 --- a/src/main/java/org/example/scoreboard/api/IScoreboard.java +++ b/src/main/java/org/example/scoreboard/api/IScoreboard.java @@ -10,11 +10,11 @@ public interface IScoreboard { * Starts a match between two teams. * When a game starts, two teams are required. * - * @param homeTeam the home team - * @param awayTeam the away team + * @param homeTeam home team + * @param awayTeam away team * @throws InvalidParameterException team is already in a match or the same team is passed as home and away * @throws NullPointerException one, or both, of the passed teams is null - * @return the match started + * @return match started */ IMatch startMatch(ITeam homeTeam, ITeam awayTeam); @@ -22,10 +22,10 @@ public interface IScoreboard { * Finish game. * It will remove a match from the scoreboard. * - * @param match the match to finish + * @param match match to finish * @throws NoSuchElementException match is not ongoing * @throws NullPointerException passed match is null - * @return the finished match + * @return finished match */ IMatch finishMatch(IMatch match);