ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From coconut forcoconuts <coconut4cocon...@yahoo.com>
Subject Re: makeReadOnly() method
Date Mon, 04 Jun 2001 11:18:29 GMT

--- Peter Donald <donaldp@apache.org> wrote:
> 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             
>  |
>
*-----------------------------------------------------*
> 


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

Mime
View raw message