From f9239036ddb3e5c1434a3b3a310c5947357e47ad Mon Sep 17 00:00:00 2001 From: "Steven M. Cohen" Date: Wed, 1 Nov 2006 02:04:27 +0000 Subject: [PATCH] remove from documentation (and from comment in source code) the incorrect statement that a message attribute or character data within the element is required. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@469751 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/CoreTasks/echo.html | 5 +++-- src/main/org/apache/tools/ant/taskdefs/Echo.java | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/manual/CoreTasks/echo.html b/docs/manual/CoreTasks/echo.html index 07b59e4a4..dedee6257 100644 --- a/docs/manual/CoreTasks/echo.html +++ b/docs/manual/CoreTasks/echo.html @@ -44,8 +44,9 @@ ignored

message the message to echo. - Yes, unless data is included in a - character section within this element. + No. Text may also be included in a + character section within this element. If neither is included a + blank line will be emitted in the output. file diff --git a/src/main/org/apache/tools/ant/taskdefs/Echo.java b/src/main/org/apache/tools/ant/taskdefs/Echo.java index 9a4107993..9082cfc05 100644 --- a/src/main/org/apache/tools/ant/taskdefs/Echo.java +++ b/src/main/org/apache/tools/ant/taskdefs/Echo.java @@ -40,7 +40,7 @@ import org.apache.tools.ant.types.LogLevel; * @ant.task category="utility" */ public class Echo extends Task { - protected String message = ""; // required + protected String message = ""; protected File file = null; protected boolean append = false; /** encoding; set to null or empty means 'default' */