Browse Source

Fix javadoc and manual errors related to the newly introduced readTimeout attribute for Http condition

master
Jaikiran Pai 6 years ago
parent
commit
6e96e43111
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      manual/Tasks/conditions.html
  2. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/condition/Http.java

+ 1
- 1
manual/Tasks/conditions.html View File

@@ -218,7 +218,7 @@ URL. By default, HTTP responses errors of 400 or greater are viewed as invalid.<
<tr>
<td>readTimeout</td>
<td>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 &ge; 0. Value of 0 implies wait indefinitely. Value &lt; 0 will be silently
ignored.<br/>
<em>since Ant 1.10.6</em></td>
</td>


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/condition/Http.java View File

@@ -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 &lt; 0 will be ignored
*
* @param t the timeout value in milli seconds
*


Loading…
Cancel
Save