commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles (JIRA)" <j...@apache.org>
Subject [jira] Created: (MATH-348) Indirect access to instance variables
Date Wed, 03 Mar 2010 15:06:27 GMT
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


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.


Mime
View raw message