From 6e96e43111c578a941797e9caa00db43423cf798 Mon Sep 17 00:00:00 2001 From: Jaikiran Pai Date: Sat, 2 Mar 2019 19:45:31 +0530 Subject: [PATCH] Fix javadoc and manual errors related to the newly introduced readTimeout attribute for Http condition --- manual/Tasks/conditions.html | 2 +- src/main/org/apache/tools/ant/taskdefs/condition/Http.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manual/Tasks/conditions.html b/manual/Tasks/conditions.html index cc41d1799..c494a30a5 100644 --- a/manual/Tasks/conditions.html +++ b/manual/Tasks/conditions.html @@ -218,7 +218,7 @@ URL. By default, HTTP responses errors of 400 or greater are viewed as invalid.< readTimeout Read timeout, in milli second, that will be used while reading from the target URL. - Accepts any value >= 0. Value of 0 implies wait indefinitely. Value < 0 will be silently + Accepts any value ≥ 0. Value of 0 implies wait indefinitely. Value < 0 will be silently ignored.
since Ant 1.10.6 diff --git a/src/main/org/apache/tools/ant/taskdefs/condition/Http.java b/src/main/org/apache/tools/ant/taskdefs/condition/Http.java index 7ce6aa129..ad44792b9 100644 --- a/src/main/org/apache/tools/ant/taskdefs/condition/Http.java +++ b/src/main/org/apache/tools/ant/taskdefs/condition/Http.java @@ -96,7 +96,7 @@ public class Http extends ProjectComponent implements Condition { } /** - * Sets the read timeout. Any value < 0 will be ignored + * Sets the read timeout. Any value < 0 will be ignored * * @param t the timeout value in milli seconds *