From 58cee40515ec978431b9b6d4a6db3b6401225f29 Mon Sep 17 00:00:00 2001
From: Stefan Bodewig
Date: Wed, 27 Nov 2002 17:01:12 +0000
Subject: [PATCH] 's errorsbeginat didn't work, Bug 14833
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273585 13f79535-47bb-0310-9956-ffa450edef68
---
WHATSNEW | 2 ++
docs/manual/CoreTasks/conditions.html | 5 -----
src/main/org/apache/tools/ant/taskdefs/condition/Http.java | 2 +-
3 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/WHATSNEW b/WHATSNEW
index 45c91c0df..685791bbf 100644
--- a/WHATSNEW
+++ b/WHATSNEW
@@ -63,6 +63,8 @@ Fixed bugs:
* ignored the specified encoding of the files to
validate.
+* the errorsbeginat attribute of the condition didn't work.
+
Other changes:
--------------
* The filesetmanifest attribute of has been reenabled.
diff --git a/docs/manual/CoreTasks/conditions.html b/docs/manual/CoreTasks/conditions.html
index 6d0bc0124..df58a88ed 100644
--- a/docs/manual/CoreTasks/conditions.html
+++ b/docs/manual/CoreTasks/conditions.html
@@ -165,11 +165,6 @@ of 400 or greater are viewed as invalid.
The full URL of the page to request. The web server must
return a status code of <errorsBeginAt |
Yes. |
- errorsBeginAt |
- The lowest HTTP response code that signals an error;
- by default '400'; server errors, not-authorized, not-found and the like
- are detected |
- No |
errorsBeginAt |
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 122d20de3..5c694311b 100644
--- a/src/main/org/apache/tools/ant/taskdefs/condition/Http.java
+++ b/src/main/org/apache/tools/ant/taskdefs/condition/Http.java
@@ -78,7 +78,7 @@ public class Http extends ProjectComponent implements Condition {
private int errorsBeginAt=400;
- public void SetErrorsBeginAt(int errorsBeginAt) {
+ public void setErrorsBeginAt(int errorsBeginAt) {
this.errorsBeginAt=errorsBeginAt;
}