diff --git a/src/main/java/org/openrewrite/java/apache/httpclient5/NewStatusLine.java b/src/main/java/org/openrewrite/java/apache/httpclient5/NewStatusLine.java index 61ae49083..d7b982666 100644 --- a/src/main/java/org/openrewrite/java/apache/httpclient5/NewStatusLine.java +++ b/src/main/java/org/openrewrite/java/apache/httpclient5/NewStatusLine.java @@ -29,9 +29,9 @@ public String getDisplayName() { @Override public String getDescription() { - return "HttpResponse::getStatusLine() was deprecated in 4.x, so we replace it for new StatusLine(HttpResponse). " + - "Ideally we will try to simplify method chains for getStatusCode, getProtocolVersion and getReasonPhrase, " + - "but there are some scenarios wher ethe StatusLine object is assigned or used directly, and we need to " + + return "`HttpResponse::getStatusLine()` was deprecated in 4.x, so we replace it for `new StatusLine(HttpResponse)`. " + + "Ideally we will try to simplify method chains for `getStatusCode`, `getProtocolVersion` and `getReasonPhrase`, " + + "but there are some scenarios where the `StatusLine` object is assigned or used directly, and we need to " + "instantiate the object."; }