Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-348

Indirect access to instance variables

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.0
    • 2.1
    • None

    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?

      Attachments

        Activity

          People

            Unassigned Unassigned
            erans Gilles Sadowski
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified