File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
modules/core/src/main/scala/org/scalasteward/core/util Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,9 @@ trait UrlChecker[F[_]] {
3333final case class UrlCheckerClient [F [_]](client : Client [F ]) extends AnyVal
3434
3535object UrlChecker {
36- private def buildCache [F [_]](config : Config )(implicit F : Sync [F ]): F [CaffeineCache [F , Status ]] =
36+ private def buildCache [F [_]](config : Config )(implicit
37+ F : Sync [F ]
38+ ): F [CaffeineCache [F , String , Status ]] =
3739 F .delay {
3840 val cache = Caffeine
3941 .newBuilder()
@@ -56,7 +58,7 @@ object UrlChecker {
5658 }
5759
5860 private def status (url : Uri ): F [Status ] =
59- statusCache.cachingForMemoizeF (url.renderString)(None ) {
61+ statusCache.cachingF (url.renderString)(None ) {
6062 urlCheckerClient.client.status(Request [F ](method = Method .HEAD , uri = url))
6163 }
6264 }
You can’t perform that action at this time.
0 commit comments