You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2007/05/24 06:03:16 UTC

[jira] Updated: (JCR-875) More using of keyword 'final'

     [ https://issues.apache.org/jira/browse/JCR-875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting updated JCR-875:
------------------------------

    Component/s:     (was: jcr-mapping)

In theory I agree with the rationale for using final more often, but in practice I've found that the benefits of using the keyword are normally not worth the extra typing and visual clutter that it adds. A decent JIT compiler should also be able in most cases to automatically apply the kinds of performance optimizations that the final keyword helps with. Thus I would like to resolve this as Won't Fix.

> More using of keyword 'final'
> -----------------------------
>
>                 Key: JCR-875
>                 URL: https://issues.apache.org/jira/browse/JCR-875
>             Project: Jackrabbit
>          Issue Type: Improvement
>            Reporter: Martin Koci
>            Priority: Minor
>
> As described in http://www.oreilly.com/catalog/hardcorejv/chapter/ch02.pdf, using 'final' in code can help in many ways. 
> Candidates can be found for example with PMD plugin for Eclipse.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.