Skip to content

Commit 419ceb0

Browse files
Make deprecation messages consistent with those in 0.13.x
1 parent 4456702 commit 419ceb0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/src/main/scala/execution.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,15 @@ object Http extends Http(
6565
this.closeAndConfigure(builder => builder)
6666
}
6767

68-
@deprecated("Using the Http singleton directly will not be allowed in Dispatch 0.13.x. Please switch to invoking Http.default for using a globally accessible default Http client.", "0.12.2")
68+
@deprecated("Using the Http singleton directly is deprecated and will be removed in a future version of dispatch. Please switch to invoking Http.default for using a globally accessible default Http client.", "0.12.2")
6969
override def apply(req: Req)
7070
(implicit executor: ExecutionContext): Future[Response] = super.apply(req)
7171

72-
@deprecated("Using the Http singleton directly will not be allowed in Dispatch 0.13.x. Please switch to invoking Http.default for using a globally accessible default Http client.", "0.12.2")
72+
@deprecated("Using the Http singleton directly is deprecated and will be removed in a future version of dispatch. Please switch to invoking Http.default for using a globally accessible default Http client.", "0.12.2")
7373
override def apply[T](pair: (Request, AsyncHandler[T]))
7474
(implicit executor: ExecutionContext): Future[T] = super.apply(pair)
7575

76-
@deprecated("Using the Http singleton directly will not be allowed in Dispatch 0.13.x. Please switch to invoking Http.default for using a globally accessible default Http client.", "0.12.2")
76+
@deprecated("Using the Http singleton directly is deprecated and will be removed in a future version of dispatch. Please switch to invoking Http.default for using a globally accessible default Http client.", "0.12.2")
7777
override def apply[T]
7878
(request: Request, handler: AsyncHandler[T])
7979
(implicit executor: ExecutionContext): Future[T] = super.apply(request, handler)

0 commit comments

Comments
 (0)