commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (MATH-452) Subclasses of BaseAbstractUnivariateRealSolver redefine the public static final field DEFAULT_ABSOLUTE_ACCURACY
Date Mon, 06 Dec 2010 11:58:11 GMT

     [ 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.


Mime
View raw message