fix scaladoc warnings

This commit is contained in:
xuwei-k 2023-06-25 08:04:00 +09:00
parent 5ba9f3910a
commit 3de0c92754
3 changed files with 13 additions and 9 deletions

View File

@ -970,7 +970,7 @@ private[sbt] object Continuous extends DeprecatedContinuous {
* input task. * input task.
* *
* @param command the name of the command/task to run with each iteration * @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 * @param watchSettings the [[WatchSettings]] instance for the task
*/ */
private final class Config private[internal] ( private final class Config private[internal] (

View File

@ -1024,17 +1024,22 @@ object BuildServerProtocol {
/** /**
* Additional information about compilation status for given build target. * 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 { 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] = val hasAnyProblems: java.util.Set[Path] =
java.util.concurrent.ConcurrentHashMap.newKeySet[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) val compiledAtLeastOnce: AtomicBoolean = new AtomicBoolean(false)
} }
} }

View File

@ -70,7 +70,6 @@ object ConcurrentRestrictions {
/** /**
* A ConcurrentRestrictions instance that places no restrictions on concurrently executing tasks. * A ConcurrentRestrictions instance that places no restrictions on concurrently executing tasks.
* @param zero the constant placeholder used for t
*/ */
def unrestricted[A]: ConcurrentRestrictions[A] = def unrestricted[A]: ConcurrentRestrictions[A] =
new ConcurrentRestrictions[A] { new ConcurrentRestrictions[A] {