ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: makeReadOnly() method
Date Mon, 04 Jun 2001 09:50:42 GMT
oops - wrong group ;)

At 07:35 PM 6/4/01 +1000, you wrote:
>Hi,
>
>I have just added makeReadOnly() method to a whole bunch of classes in
>framework. The reason was that I recently came across someone who was using
>Avalon code and doing something like
>
>((DefaultComponentManager)componentManager).put( "blah", blah );
>
>which is obviously bad form. So after you make something read only this
>would actually throw an IllegalStateException.
>
>
>Cheers,
>
>Pete
>
>*-----------------------------------------------------*
>| "Faced with the choice between changing one's mind, |
>| and proving that there is no need to do so - almost |
>| everyone gets busy on the proof."                   |
>|              - John Kenneth Galbraith               |
>*-----------------------------------------------------*
>
>
Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*


Mime
View raw message