Remove obsolete type capabilities

These are now detected by the new scala compiler and lead to compile
errors.
This commit is contained in:
Eike Kettner
2021-03-01 00:08:25 +01:00
parent 41bc33a73b
commit e6d9ce2c37
31 changed files with 40 additions and 42 deletions

View File

@ -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)

View File

@ -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,