[
https://issues.apache.org/jira/browse/TRINIDAD-712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12527896
]
Simon Lessard commented on TRINIDAD-712:
----------------------------------------
I agree with Andrew here. I had some use case where I wanted to extends a
component to decorate the retrieved property, but using override method
strategy to do so was impossible because of the final modifier. From the
benchmarks made with final, since the performance boost is so insignificant, I
don't think accessors should be final either. Also this will be more consistent
with basic JSF components that don't make final accessors.
> Do not generate final properties with the maven-faces-plugin
> ------------------------------------------------------------
>
> Key: TRINIDAD-712
> URL: https://issues.apache.org/jira/browse/TRINIDAD-712
> Project: MyFaces Trinidad
> Issue Type: Wish
> Components: Plugins
> Affects Versions: 1.0.2-plugins
> Environment: maven-faces-plugin version 1.0.2 from the maven
> repository
> Reporter: Andrew Robinson
> Assignee: Adam Winer
>
> It would be extremely beneficial to not have property methods generated as
> final by the maven-faces-plugin.
> IMO, final should be reserved for constants and only on methods with rare
> exceptions and good reasons.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.