From 2338d5f4eef394a09dadfd1e14e332f78ba94b91 Mon Sep 17 00:00:00 2001 From: kenji yoshida <6b656e6a69@gmail.com> Date: Sun, 11 Jan 2026 21:20:40 +0900 Subject: [PATCH] Fix scaladoc (#8476) --- .../src/main/scala/sbt/internal/parser/SbtParser.scala | 2 +- tasks/src/main/scala/sbt/ConcurrentRestrictions.scala | 6 ------ .../src/main/scala/sbt/internal/util/Settings.scala | 2 +- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/buildfile/src/main/scala/sbt/internal/parser/SbtParser.scala b/buildfile/src/main/scala/sbt/internal/parser/SbtParser.scala index 33726ca3a..79c8bf1d2 100644 --- a/buildfile/src/main/scala/sbt/internal/parser/SbtParser.scala +++ b/buildfile/src/main/scala/sbt/internal/parser/SbtParser.scala @@ -217,7 +217,7 @@ end ParsedSbtFileExpressions * val settings = parser.settings * }}} * - * @param file The file we're parsing (may be a dummy file) + * @param path The path we're parsing (may be a dummy file) * @param lines The parsed "lines" of the file, where each string is a line. */ private[sbt] case class SbtParser(path: VirtualFileRef, lines: Seq[String]) diff --git a/tasks/src/main/scala/sbt/ConcurrentRestrictions.scala b/tasks/src/main/scala/sbt/ConcurrentRestrictions.scala index 94dc0708d..1f35f8e7a 100644 --- a/tasks/src/main/scala/sbt/ConcurrentRestrictions.scala +++ b/tasks/src/main/scala/sbt/ConcurrentRestrictions.scala @@ -104,8 +104,6 @@ object ConcurrentRestrictions { /** * Implements concurrency restrictions on tasks based on Tags. - * @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 */ @@ -144,10 +142,6 @@ object ConcurrentRestrictions { * restrictions on concurrent task execution. * @return * a pair, with _1 being the CompletionService and _2 a function to shutdown the service. - * @tparam A - * the task type - * @tparam R - * the type of data that will be computed by the CompletionService. */ def completionService( tags: ConcurrentRestrictions, diff --git a/util-collection/src/main/scala/sbt/internal/util/Settings.scala b/util-collection/src/main/scala/sbt/internal/util/Settings.scala index 54293db40..6295f5a04 100644 --- a/util-collection/src/main/scala/sbt/internal/util/Settings.scala +++ b/util-collection/src/main/scala/sbt/internal/util/Settings.scala @@ -796,7 +796,7 @@ trait Init: /** * An `Initialize[T]` associated with a `ScopedKey[S]`. * @tparam S the type of the associated `ScopedKey` - * @tparam T the type of the value this `Initialize` defines. + * @tparam A1 the type of the value this `Initialize` defines. */ sealed trait Keyed[S, A1] extends Initialize[A1]: def scopedKey: ScopedKey[S]