From 1e7423320d7a64298a164567e082761b76ac2aaa Mon Sep 17 00:00:00 2001 From: adamw Date: Wed, 19 May 2021 08:22:14 +0200 Subject: [PATCH] Remove unused method --- core/src/main/scala/sttp/client3/testing/SttpBackendStub.scala | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/src/main/scala/sttp/client3/testing/SttpBackendStub.scala b/core/src/main/scala/sttp/client3/testing/SttpBackendStub.scala index 670ae30cb1..149a64279a 100644 --- a/core/src/main/scala/sttp/client3/testing/SttpBackendStub.scala +++ b/core/src/main/scala/sttp/client3/testing/SttpBackendStub.scala @@ -83,9 +83,6 @@ class SttpBackendStub[F[_], +P]( } } - private def wrapResponse[T](r: Response[_]): F[Response[T]] = - monad.unit(r.asInstanceOf[Response[T]]) - override def close(): F[Unit] = monad.unit(()) override def responseMonad: MonadError[F] = monad