ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: <available> / <condition> breaking immutability
Date Thu, 29 Nov 2001 08:45:24 GMT
On Wed, 28 Nov 2001, Erik Hatcher <jakarta-ant@ehatchersolutions.com>
wrote:

> Could you refactor your test that uses unsetProperty to do it a
> different way?

done.

> Is there any other use-case for having an unsetProperty method?

There is an enhancement request in bugzilla that asks for this
functionality, even using a built-in task instead of using a Java API.

Anyway, I've never announced the unsetProperty method and I've added
it after the 1.4.1 release, so removing it now should be save IMHO.

> Would it be ok to return back a copy of the properties hashtable
> rather than the actual object?

Works for me.

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