ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Deleting properties
Date Thu, 14 Feb 2002 12:16:32 GMT
On Thu, 14 Feb 2002, Martin van den Bemt <mvdb@mvdb.com> wrote:

> I looked at the project.java and it doesn't contain any methods for
> clearing or deleting properties

This is a side effect of making properties immutable.

If you leave unsetting a property open to the public, changing the
value of a property is a simple matter of first unsetting and then
setting with a new value.

What you need to convince the majority of committers that properties
need to be mutable from time to time is a use case - why do you want
to unset a property?

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message