diff --git a/main/src/main/scala/sbt/internal/Continuous.scala b/main/src/main/scala/sbt/internal/Continuous.scala index 4366cd053..b78f167d2 100644 --- a/main/src/main/scala/sbt/internal/Continuous.scala +++ b/main/src/main/scala/sbt/internal/Continuous.scala @@ -970,7 +970,7 @@ private[sbt] object Continuous extends DeprecatedContinuous { * input task. * * @param command the name of the command/task to run with each iteration - * @param inputs the transitive task inputs (see [[SettingsGraph]]) + * @param dynamicInputs the transitive task inputs (see [[SettingsGraph]]) * @param watchSettings the [[WatchSettings]] instance for the task */ private final class Config private[internal] ( diff --git a/main/src/main/scala/sbt/internal/server/BuildServerProtocol.scala b/main/src/main/scala/sbt/internal/server/BuildServerProtocol.scala index 0f53ad216..50ce2e1b9 100644 --- a/main/src/main/scala/sbt/internal/server/BuildServerProtocol.scala +++ b/main/src/main/scala/sbt/internal/server/BuildServerProtocol.scala @@ -1024,17 +1024,22 @@ object BuildServerProtocol { /** * Additional information about compilation status for given build target. - * - * @param hasAnyProblems keeps track of problems in given file so BSP reporter - * can omit unnecessary diagnostics updates. - * @param compiledAtLeastOnce keeps track of those projects that were compiled at - * least once so that we can decide to enable fresh reporting for projects that - * are compiled for the first time. - * see: https://github.com/scalacenter/bloop/issues/726 */ private[server] final class BspCompileState { + + /** + * keeps track of problems in given file so BSP reporter + * can omit unnecessary diagnostics updates + */ val hasAnyProblems: java.util.Set[Path] = java.util.concurrent.ConcurrentHashMap.newKeySet[Path] + + /** + * keeps track of those projects that were compiled at + * least once so that we can decide to enable fresh reporting for projects that + * are compiled for the first time. + * see: https://github.com/scalacenter/bloop/issues/726 + */ val compiledAtLeastOnce: AtomicBoolean = new AtomicBoolean(false) } } diff --git a/tasks/src/main/scala/sbt/ConcurrentRestrictions.scala b/tasks/src/main/scala/sbt/ConcurrentRestrictions.scala index 30659e8bc..b6cd6fbaa 100644 --- a/tasks/src/main/scala/sbt/ConcurrentRestrictions.scala +++ b/tasks/src/main/scala/sbt/ConcurrentRestrictions.scala @@ -70,7 +70,6 @@ object ConcurrentRestrictions { /** * A ConcurrentRestrictions instance that places no restrictions on concurrently executing tasks. - * @param zero the constant placeholder used for t */ def unrestricted[A]: ConcurrentRestrictions[A] = new ConcurrentRestrictions[A] {