diff options
Diffstat (limited to 'manual/develop.html')
-rw-r--r-- | manual/develop.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/manual/develop.html b/manual/develop.html index 33cc48df0..5f738fcc8 100644 --- a/manual/develop.html +++ b/manual/develop.html @@ -165,9 +165,9 @@ is</p> inner <code class="code">AddAsisRemove</code> class used in <code class="code">setCr</code> for an example.</li> - <li>A (Java 5) enumeration, Ant will call the setter with the enum constant matching the value + <li>An enumeration, Ant will call the setter with the enum constant matching the value given in the build file. This is easier than using <code class="code">EnumeratedAttribute</code> - and can result in cleaner code, but of course your task will not run on JDK 1.4 or earlier. Note + and can result in cleaner code. Note that any override of <code class="code">toString()</code> in the enumeration is ignored; the build file must use the declared name (see <code>Enum.getName()</code>). You may wish to use lowercase enum constant names, in contrast to usual Java style, to look better in build |