Skip to content

Commit

Permalink
Update src/main/java/org/openrewrite/java/apache/httpclient5/NewStatu…
Browse files Browse the repository at this point in the history
…sLine.java

Co-authored-by: Tim te Beek <tim@moderne.io>
  • Loading branch information
Joan Viladrosa and timtebeek authored Aug 1, 2023
1 parent 8113bfa commit a5b7bec
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.";
}

Expand Down

0 comments on commit a5b7bec

Please sign in to comment.