mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Remove obsolete type capabilities
These are now detected by the new scala compiler and lead to compile errors.
This commit is contained in:
@ -12,7 +12,7 @@ import docspell.ftssolr.SolrFtsClient
|
||||
|
||||
import org.http4s.client.Client
|
||||
|
||||
final class RestAppImpl[F[_]: Sync](val config: Config, val backend: BackendApp[F])
|
||||
final class RestAppImpl[F[_]](val config: Config, val backend: BackendApp[F])
|
||||
extends RestApp[F] {
|
||||
|
||||
def init: F[Unit] =
|
||||
@ -38,7 +38,7 @@ object RestAppImpl {
|
||||
appR <- Resource.make(app.init.map(_ => app))(_.shutdown)
|
||||
} yield appR
|
||||
|
||||
private def createFtsClient[F[_]: ConcurrentEffect: ContextShift](
|
||||
private def createFtsClient[F[_]: ConcurrentEffect](
|
||||
cfg: Config
|
||||
)(client: Client[F]): Resource[F, FtsClient[F]] =
|
||||
if (cfg.fullTextSearch.enabled) SolrFtsClient(cfg.fullTextSearch.solr, client)
|
||||
|
@ -606,7 +606,7 @@ trait Conversions {
|
||||
)
|
||||
})
|
||||
|
||||
def changeSource[F[_]: Sync](s: Source, coll: Ident): RSource =
|
||||
def changeSource[F[_]](s: Source, coll: Ident): RSource =
|
||||
RSource(
|
||||
s.id,
|
||||
coll,
|
||||
|
Reference in New Issue
Block a user