Hi Bernd,
[EMAIL PROTECTED] schrieb:
Author: bommel
Date: Mon Sep 8 04:42:28 2008
New Revision: 693059
URL: http://svn.apache.org/viewvc?rev=693059&view=rev
Log:
(MYFACES-1956) Minor performance improvements for org.apache.myfaces.el,
org.apache.myfaces.context and org.apache.myfaces.util ...
Apply many of the findbugs and pmd performance rules
Changing classes and methods to be final will break any existing user
code that subclasses it. Allowing users to subclass stuff inside the
myfaces impl jar seems rather useful to me. Do you have some performance
measurements that show this kind of lockdown of the core impl code is
worthwhile? Or is there some reason why users would never want to
subclass these packages?
Making a method-parameter final seems less problematic. I'm not quite
sure what the benefit is though; I would have thought that a decent
compiler would figure that out itself 99% of the time. Do you have any
information on what gains we get from this?
Regards, Simon