From 410ba2afa90720cf51e0c2922a26de59df72dbbf Mon Sep 17 00:00:00 2001 From: Mark Harrah Date: Sat, 4 Feb 2012 21:10:30 -0500 Subject: [PATCH] API doc fixes --- main/command/State.scala | 2 +- tasks/ConcurrentRestrictions.scala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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] =