ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: [PATCH] comma separated PVCS projects
Date Mon, 23 Apr 2001 09:22:03 GMT
Tim Vernum <Tim.Vernum@macquarie.com.au> wrote:

>> strings are
>> immutable and once created can't be configured.
> 
> Umm.. yeah.
> But, strings aren't special in that regard.
> There are other classes in a similar position.

Sure, and you cannot use them (in a meaningful way) here either 8-)

Strings don't have any setXYZ, addXYZ or createXYZ methods, so any
child element of type String couldn't have any attributes (you cannot
specify the name of the project for example) or nested elements of its
own.

The main reason for the condition in IntrospectionHelper is that we
don't want to think addText(String) is there to define a nested <text>
element instead of nested character data.  The price you pay for using
magic names 8-)

Stefan

Mime
View raw message