mirror of
				https://github.com/TheAnachronism/docspell.git
				synced 2025-10-30 21:40:12 +00:00 
			
		
		
		
	Autoformat
This commit is contained in:
		| @@ -8,8 +8,7 @@ private[analysis] object Tld { | ||||
|   def endsWithTld(str: String): Boolean = | ||||
|     findTld(str).isDefined | ||||
|  | ||||
|   /** | ||||
|     * Some selected TLDs. | ||||
|   /** Some selected TLDs. | ||||
|     */ | ||||
|   private[this] val known = List( | ||||
|     ".com", | ||||
|   | ||||
| @@ -13,8 +13,7 @@ import docspell.store.records.{RAttachment, RAttachmentSource, RItem} | ||||
|  | ||||
| import bitpeace.FileMeta | ||||
|  | ||||
| /** | ||||
|   * Task that creates the item. | ||||
| /** Task that creates the item. | ||||
|   */ | ||||
| object CreateItem { | ||||
|  | ||||
|   | ||||
| @@ -8,8 +8,7 @@ import docspell.common.syntax.all._ | ||||
|  | ||||
| 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 | ||||
|   * arguments that have to be read from a string. | ||||
|   * | ||||
|   | ||||
| @@ -2,8 +2,7 @@ package docspell.joex.scheduler | ||||
|  | ||||
| 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 | ||||
|   * of the RJob database record. | ||||
|   */ | ||||
|   | ||||
| @@ -49,8 +49,7 @@ final class PeriodicSchedulerImpl[F[_]: ConcurrentEffect: ContextShift]( | ||||
|  | ||||
|   // 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. | ||||
|     */ | ||||
|   def init: F[Unit] = | ||||
|   | ||||
| @@ -31,8 +31,7 @@ final class SchedulerImpl[F[_]: ConcurrentEffect: ContextShift]( | ||||
|  | ||||
|   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. | ||||
|     */ | ||||
|   def init: F[Unit] = | ||||
|   | ||||
| @@ -7,8 +7,7 @@ import cats.implicits._ | ||||
|  | ||||
| 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] { | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user