More of a Java question than Avalon, but here goes. I've always used the final modifier on static constants, i.e.
public static final String ROLE... And occasionally on method declarations, i.e. public final myMethodThatIsntSubclassable... In looking through Avalon source code I keep running into final in other places -- method parameters: public ComponentException( final String message ) or in local variable definitions: public Component lookup( final String role ) throws ComponentException { final Component component = (Component)m_components.get( role ); It's my understanding that final is to make a variable unmutable through typechecking. Is there some additional benefit (performance?) that I'm unaware of, or am I just being a lazy programmer? Thanks, Corey -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>