From def10b4c778c09077c337b11e31859c02c2dca7c Mon Sep 17 00:00:00 2001 From: Oleg Kalnichevski Date: Wed, 5 Jun 2024 13:05:47 +0200 Subject: [PATCH] Javadoc correction --- .../apache/hc/client5/http/protocol/HttpClientContext.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/httpclient5/src/main/java/org/apache/hc/client5/http/protocol/HttpClientContext.java b/httpclient5/src/main/java/org/apache/hc/client5/http/protocol/HttpClientContext.java index c0c2734ab..5e9519f1e 100644 --- a/httpclient5/src/main/java/org/apache/hc/client5/http/protocol/HttpClientContext.java +++ b/httpclient5/src/main/java/org/apache/hc/client5/http/protocol/HttpClientContext.java @@ -159,8 +159,7 @@ public class HttpClientContext extends HttpCoreContext { } /** - * 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 class HttpClientContext extends HttpCoreContext { /** * 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 */