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/03/09 14:04:27 UTC

[jira] Resolved: (MATH-348) Indirect access to instance variables

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

Gilles resolved MATH-348.
-------------------------

       Resolution: Fixed
    Fix Version/s: 2.1

Issue is fixed in revision 920852.
Setters were marked as deprecated.


> Indirect access to instance variables
> -------------------------------------
>
>                 Key: MATH-348
>                 URL: https://issues.apache.org/jira/browse/MATH-348
>             Project: Commons Math
>          Issue Type: Improvement
>    Affects Versions: 2.0
>            Reporter: Gilles
>            Priority: Trivial
>             Fix For: 2.1
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> In all the methods (except the setters/getters) of
> *  BinomialDistributionImpl
> *  CauchyDistributionImpl
> * ExponentialDistributionImpl
> * FDistributionImpl
> *  GammaDistributionImpl
> *  HypergeometricDistributionImpl
> *  TDistributionImpl
> *  NormalDistributionImpl
> *  WeibullDistributionImpl
> *  ZipfDistributionImpl
> the instance variables are accessed through their respective getter.
> This is confusing (and possibly inefficient).
> What would be the expected behaviour of the getter if it were overriden?

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