So you might as well follow convention ;-)
Gary
On Fri, Jan 17, 2020 at 8:16 AM Ralph Goers
wrote:
> That is a convention Gary imitated. If you don’t add the final keywords
> you can be sure Gary will do it.
>
> Ralph
>
> > On Jan 17, 2020, at 3:55 AM, Volkan Yazıcı
> wrote:
> >
> > Hello,
> >
That is a convention Gary imitated. If you don’t add the final keywords you can
be sure Gary will do it.
Ralph
> On Jan 17, 2020, at 3:55 AM, Volkan Yazıcı wrote:
>
> Hello,
>
> I don't want to turn this into a religious war, but is having final
> modifier on both method arguments and local
I'm not sure if we flag missing final keywords in Checkstyle/PMD/Spotbugs
but I know projects that do.
I'm all for keeping on using final, it's one less thing to consider when
grooking code please see
https://garygregory.wordpress.com/2013/01/26/the-final-kiss-in-java/
Gary
On Fri, Jan 17, 2020
Hello,
I don't want to turn this into a religious war, but is having final
modifier on both method arguments and local variables a convention
that *must* be followed or some legacy followed blindly? Because if I
can opt out, I would prefer so.
Regards.