Javadoc correction

This commit is contained in:
Oleg Kalnichevski 2024-06-05 13:05:47 +02:00
parent ebd5d87340
commit def10b4c77

View File

@ -159,8 +159,7 @@ public static HttpClientContext adapt(final HttpContext context) {
}
/**
* Casts the given generic {@link HttpContext} as {@link HttpClientContext} or
* throws an {@link IllegalStateException} if the given context is not suitable.
* Casts the given generic {@link HttpContext} as {@link HttpClientContext}.
*
* @since 5.4
*/
@ -177,7 +176,7 @@ public static HttpClientContext cast(final HttpContext context) {
/**
* Casts the given generic {@link HttpContext} as {@link HttpClientContext} or
* creates new {@link HttpClientContext} if the given context is null..
* creates new {@link HttpClientContext} if the given context is null.
*
* @since 5.4
*/