Review for CR 6728865 : Improved heuristics for Collections.disjoint()
Ulf.Zibis at gmx.de
Sat Dec 18 15:34:55 UTC 2010
Am 18.12.2010 02:02, schrieb Rémi Forax:
> Otherwise, you declare some local variables final.
> Declaring a local variable as final doesn't appear in the generated bytecode.
> The usual convention for the source of the JDK is to use final
> in front of a local variable only when needed (inner class).
Martin Buchholz wrote:
The "final" is there purely for software engineering reasons,
so that people don't make the common mistake of
modifying a field cached in a local, which would have no effect.
More information about the core-libs-dev