From ffa13c8adb2a5b618a96c19dd7acbbade0f86f24 Mon Sep 17 00:00:00 2001 From: Joan Viladrosa Date: Wed, 2 Aug 2023 12:12:09 +0200 Subject: [PATCH] Update src/main/java/org/openrewrite/java/apache/httpclient5/AddTimeUnitArgument.java Co-authored-by: Raquel Pau <1483433+rpau@users.noreply.github.com> --- .../java/apache/httpclient5/AddTimeUnitArgument.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/openrewrite/java/apache/httpclient5/AddTimeUnitArgument.java b/src/main/java/org/openrewrite/java/apache/httpclient5/AddTimeUnitArgument.java index 43d7c118..e4e8f5b5 100644 --- a/src/main/java/org/openrewrite/java/apache/httpclient5/AddTimeUnitArgument.java +++ b/src/main/java/org/openrewrite/java/apache/httpclient5/AddTimeUnitArgument.java @@ -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 " +