We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7fc68f commit 0dbec1fCopy full SHA for 0dbec1f
src/main/scala/scala/compat/java8/FutureConverters.scala
@@ -66,7 +66,7 @@ object FutureConverters {
66
*/
67
def toJava[T](f: Future[T]): CompletionStage[T] = {
68
f match {
69
- case p: P[T] => p.wrapped
+ case p: P[T @unchecked] => p.wrapped
70
case _ =>
71
val cf = new CF[T](f)
72
implicit val ec = InternalCallbackExecutor
0 commit comments