You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gilles (JIRA)" <ji...@apache.org> on 2010/12/06 12:58:11 UTC

[jira] Resolved: (MATH-452) Subclasses of BaseAbstractUnivariateRealSolver redefine the public static final field DEFAULT_ABSOLUTE_ACCURACY

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

Gilles resolved MATH-452.
-------------------------

    Resolution: Fixed

Changed access to {{private}} in revision 1042596.


> Subclasses of BaseAbstractUnivariateRealSolver redefine the public static final field DEFAULT_ABSOLUTE_ACCURACY
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: MATH-452
>                 URL: https://issues.apache.org/jira/browse/MATH-452
>             Project: Commons Math
>          Issue Type: Bug
>            Reporter: Sebb
>             Fix For: 3.0
>
>
> There are 8 subclasses of BaseAbstractUnivariateRealSolver which have the public static final field DEFAULT_ABSOLUTE_ACCURACY; this is ths same name as the field in the super-class (and the same value).
> This field hiding is confusing, and should be avoided.
> In this case, the field hiding is completely unnecessary as well (as far as I can tell).

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