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/08 15:38:27 UTC

[jira] Updated: (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 updated MATH-348:
------------------------

    Description: 
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?


  was:
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?



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