You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by gi...@apache.org on 2018/03/18 10:14:16 UTC
ant git commit: Adjust markup and formatting
Repository: ant
Updated Branches:
refs/heads/master 1f334e3a6 -> 14bf21868
Adjust markup and formatting
Project: http://git-wip-us.apache.org/repos/asf/ant/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant/commit/14bf2186
Tree: http://git-wip-us.apache.org/repos/asf/ant/tree/14bf2186
Diff: http://git-wip-us.apache.org/repos/asf/ant/diff/14bf2186
Branch: refs/heads/master
Commit: 14bf2186883873aa84c962de5996f1a53fab571a
Parents: 1f334e3
Author: Gintas Grigelionis <gi...@apache.org>
Authored: Sun Mar 18 11:15:39 2018 +0100
Committer: Gintas Grigelionis <gi...@apache.org>
Committed: Sun Mar 18 11:15:39 2018 +0100
----------------------------------------------------------------------
manual/develop.html | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ant/blob/14bf2186/manual/develop.html
----------------------------------------------------------------------
diff --git a/manual/develop.html b/manual/develop.html
index e2f713a..760da11 100644
--- a/manual/develop.html
+++ b/manual/develop.html
@@ -34,8 +34,8 @@
<li id="footnote-1-back">For each attribute, write a <em>setter</em> method. The setter method
must be a <code>public void</code> method that takes a single argument. The name of the method
must begin with <code>set</code>, followed by the attribute name, with the first character of
- the name in uppercase, and the rest in lowercase<a href="#footnote-1">*</a>. That
- is, to support an attribute named <code>file</code> you create a
+ the name in uppercase, and the rest in lowercase<a href="#footnote-1">*</a>. That is, to
+ support an attribute named <var>file</var> you create a
method <code class="code">setFile</code>. Depending on the type of the argument, Ant will
perform some conversions for you, see <a href="#set-magic">below</a>.</li>
@@ -49,13 +49,13 @@
does <strong>not</strong> expand properties on the text it passes to the task.</li>
<li>For each nested element, write a <em>create</em>, <em>add</em> or <em>addConfigured</em>
- method. A create method must be a <code>public</code> method that takes no arguments and returns
- an <code>Object</code> type. The name of the create method must begin with <code>create</code>,
- followed by the element name. An add (or addConfigured) method must be a <code>public void</code>
- method that takes a single argument of an <code>Object</code> type with a no-argument constructor.
- The name of the add (addConfigured) method must begin with <code>add</code>
- (<code>addConfigured</code>), followed by the element name. For a more complete discussion
- see <a href="#nested-elements">below</a>.</li>
+ method. A create method must be a <code>public</code> method that takes no arguments and
+ returns an <code>Object</code> type. The name of the create method must begin
+ with <code>create</code>, followed by the element name. An add (or addConfigured) method must be
+ a <code>public void</code> method that takes a single argument of an <code>Object</code> type
+ with a no-argument constructor. The name of the add (addConfigured) method must begin
+ with <code>add</code> (<code>addConfigured</code>), followed by the element name. For a more
+ complete discussion see <a href="#nested-elements">below</a>.</li>
<li>Write a <code class="code">public void execute()</code> method, with no arguments, that throws
a <code>BuildException</code>. This method implements the task itself.</li>