diff --git a/main/command/State.scala b/main/command/State.scala index 10ef7ad50..b944aa929 100644 --- a/main/command/State.scala +++ b/main/command/State.scala @@ -127,7 +127,7 @@ object State /** Provides a list of recently executed commands. The commands are stored as processed instead of as entered by the user. * @param executed the list of the most recently executed commands, with the most recent command first. - * @maxSize the maximum number of commands to keep, or 0 to keep an unlimited number. */ + * @param maxSize the maximum number of commands to keep, or 0 to keep an unlimited number. */ final class History private[State](val executed: Seq[String], val maxSize: Int) { /** Adds `command` as the most recently executed command.*/ diff --git a/tasks/ConcurrentRestrictions.scala b/tasks/ConcurrentRestrictions.scala index 678740598..4c6f50fc5 100644 --- a/tasks/ConcurrentRestrictions.scala +++ b/tasks/ConcurrentRestrictions.scala @@ -76,7 +76,7 @@ object ConcurrentRestrictions type TagMap = Map[Tag, Int] /** Implements concurrency restrictions on tasks based on Tags. - * @tparma A type of a task + * @tparam A type of a task * @param get extracts tags from a task * @param validF defines whether a set of tasks are allowed to execute concurrently based on their merged tags*/ def tagged[A](get: A => TagMap, validF: TagMap => Boolean): ConcurrentRestrictions[A] =