[
https://issues.apache.org/jira/browse/MATH-758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13222661#comment-13222661
]
Leandro Ariel Pezzente commented on MATH-758:
---------------------------------------------
{quote} I must point again that those issues stem from not having a consistent
coding policy, e.g. a rule such as "It's never necessary to expose mutable data
fields directly". This rule should be integrated when thinking about the
implementation, not as an after-thought.{quote}
Would it be feasible to integrate a "Design Docs" section into Apache Commons
Math Wiki Site ????
> Fields which could be private and/or final
> ------------------------------------------
>
> Key: MATH-758
> URL: https://issues.apache.org/jira/browse/MATH-758
> Project: Commons Math
> Issue Type: Bug
> Reporter: Sebb
>
> BaseAbstractUnivariateIntegrator has several fields that are not currently
> changed after construction and could be final:
> protected double absoluteAccuracy;
> protected double relativeAccuracy;
> protected int minimalIterationCount;
> protected Incrementor iterations;
> protected Incrementor evaluations;
> These all have getters as well, so could also be made private.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira