On 17 Feb 2009, at 04:12, Christian Catchpole wrote:
> Does anyone know of a tool to run over legacy code that refactors all
> members / fields / params to final if they not reassigned?  I'd even
> be happy with a blanket reassignment and then manually go and fix the
> code which breaks.

Eclipse has a "cleanup wizard" that can do this.

I normally setup an eclipse "save action" to mark all fields as final  
(that can be safely made so).

-Dom

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to