Skip to content

Commit

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

Co-authored-by: Raquel Pau <[email protected]>
  • Loading branch information
Joan Viladrosa and rpau authored Aug 2, 2023
1 parent 0b2e449 commit ffa13c8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public String getDisplayName() {

@Override
public String getDescription() {
return "In Apache Http Client 5.x migration, we need to add a TimeUnit argument to the timeout and duration methods. " +
return "In Apache Http Client 5.x migration, an extra TimeUnit argument is required in the timeout and duration methods. " +
"Previously in 4.x, all this methods were implicitly having the timeout or duration expressed in milliseconds, " +
"but in 5.x the unit of the timeout or duration is required. So, by default this recipe adds " +
"`TimeUnit.MILLISECONDS`, it is possible to specify this as a parameter. Since all affected methods of " +
Expand Down

0 comments on commit ffa13c8

Please sign in to comment.