diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs index df3e3d0..d411f19 100644 --- a/.git-blame-ignore-revs +++ b/.git-blame-ignore-revs @@ -1,2 +1,5 @@ # Scala Steward: Reformat with scalafmt 3.5.8 af0d992acdc6d49705be09ede6f08fdf03455c02 + +# Scala Steward: Reformat with scalafmt 3.6.1 +fb151ecf9ca6384e2f67c536f991f2dcdb197b22 diff --git a/.scalafmt.conf b/.scalafmt.conf index a5218e4..e4359af 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,4 +1,4 @@ -version = 3.5.9 +version = 3.6.1 runner.dialect = Scala213 align { preset = more diff --git a/src/main/scala/com/stuart/zcaffeine/Cache.scala b/src/main/scala/com/stuart/zcaffeine/Cache.scala index 9e3e1f5..cfc86e8 100644 --- a/src/main/scala/com/stuart/zcaffeine/Cache.scala +++ b/src/main/scala/com/stuart/zcaffeine/Cache.scala @@ -127,9 +127,9 @@ sealed class Cache[R, Key, Value] private[zcaffeine] (runtime: Runtime[R], under /** * Returns an immutable view of the cache contents. * @return - * the cache contents, as a Map + * the cache contents, as a Map */ - def asMap: Task[Map[Key,Value]] = + def asMap: Task[Map[Key, Value]] = ZIO.attemptBlocking(underlying.synchronous().asMap().asScala.toMap) /**