Autoformat

This commit is contained in:
Eike Kettner 2020-10-06 23:31:09 +02:00
parent c57b908461
commit 3f697f51aa
7 changed files with 7 additions and 14 deletions

View File

@ -8,8 +8,7 @@ private[analysis] object Tld {
def endsWithTld(str: String): Boolean = def endsWithTld(str: String): Boolean =
findTld(str).isDefined findTld(str).isDefined
/** /** Some selected TLDs.
* Some selected TLDs.
*/ */
private[this] val known = List( private[this] val known = List(
".com", ".com",

View File

@ -13,8 +13,7 @@ import docspell.store.records.{RAttachment, RAttachmentSource, RItem}
import bitpeace.FileMeta import bitpeace.FileMeta
/** /** Task that creates the item.
* Task that creates the item.
*/ */
object CreateItem { object CreateItem {

View File

@ -8,8 +8,7 @@ import docspell.common.syntax.all._
import io.circe.Decoder import io.circe.Decoder
/** /** Binds a Task to a name. This is required to lookup the code based
* Binds a Task to a name. This is required to lookup the code based
* on the taskName in the RJob data and to execute it given the * on the taskName in the RJob data and to execute it given the
* arguments that have to be read from a string. * arguments that have to be read from a string.
* *

View File

@ -2,8 +2,7 @@ package docspell.joex.scheduler
import docspell.common.Ident import docspell.common.Ident
/** /** This is a mapping from some identifier to a task. This is used by
* This is a mapping from some identifier to a task. This is used by
* the scheduler to lookup an implementation using the taskName field * the scheduler to lookup an implementation using the taskName field
* of the RJob database record. * of the RJob database record.
*/ */

View File

@ -49,8 +49,7 @@ final class PeriodicSchedulerImpl[F[_]: ConcurrentEffect: ContextShift](
// internal // internal
/** /** On startup, get all periodic jobs from this scheduler and remove
* On startup, get all periodic jobs from this scheduler and remove
* the mark, so they get picked up again. * the mark, so they get picked up again.
*/ */
def init: F[Unit] = def init: F[Unit] =

View File

@ -31,8 +31,7 @@ final class SchedulerImpl[F[_]: ConcurrentEffect: ContextShift](
private[this] val logger = getLogger private[this] val logger = getLogger
/** /** On startup, get all jobs in state running from this scheduler
* On startup, get all jobs in state running from this scheduler
* and put them into waiting state, so they get picked up again. * and put them into waiting state, so they get picked up again.
*/ */
def init: F[Unit] = def init: F[Unit] =

View File

@ -7,8 +7,7 @@ import cats.implicits._
import docspell.common.Logger import docspell.common.Logger
/** /** The code that is executed by the scheduler
* The code that is executed by the scheduler
*/ */
trait Task[F[_], A, B] { trait Task[F[_], A, B] {