Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Re: [OT] Re: Interceptor + putting information on the request

Dave Newton

2007-03-07

Replies:

--- Matt Filion <mfilion@(protected):
> Though the different situation seems like
"overkill".

I don't make my local vars 'final' either, but I know
enough people that do.

> How about expecting a programmer to look at the code

> becore they modify it? :)

Works great in theory ;)

But seriously, making local vars 'final' is to express
*intent* whether or not the code was looked at--sort
of a "If you *really* want to that, fine, but you must
explicitly remove the protections I have set in
place."

d.




____________________________________________________________________________________
It's here! Your new message!
Get new email alerts with the free Yahoo! Toolbar.
http://tools.search.yahoo.com/toolbar/features/mail/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.