At 07:35 PM 6/4/01 +1000, Peter Donald 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 |
*-----------------------------------------------------*
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]