Martin Desruisseaux wrote:
> Jody Garnett a écrit :
>> However "citation.freeze()" is protected, how do I as a user lock 
>> down my bean before passing it off to innocent code that expects it 
>> to be immutable?
>     Citation myCitation = ...
>     myCitation = (Citation) citation.unmodifiable();
>
> 'freeze()' is used for the implementation of 'unmodifiable()'. The 
> cast will disaspear when we will be allowed to compile for Java 5.
Thanks Martin, I have updated the page .. do we have any parsing code 
for this stuff? Or is that a question for our good friends Gabriel and 
Justin.

Cheers,
Jody


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to