commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willi Wu (JIRA)" <j...@apache.org>
Subject [jira] Created: (MATH-329) In stat.Frequency, getPct(Object) uses getCumPct(Comparable) instead of getPct(Comparable)
Date Thu, 14 Jan 2010 08:02:54 GMT
In stat.Frequency, getPct(Object) uses getCumPct(Comparable) instead of getPct(Comparable)

-------------------------------------------------------------------------------------------

                 Key: MATH-329
                 URL: https://issues.apache.org/jira/browse/MATH-329
             Project: Commons Math
          Issue Type: Bug
    Affects Versions: 2.0
            Reporter: Willi Wu
            Priority: Minor


Drop in Replacement of 1.2 with 2.0 not possible because all getPct calls will be cummulative
without code change

Frequency.java

   /**
      * Returns the percentage of values that are equal to v
     * @deprecated replaced by {@link #getPct(Comparable)} as of 2.0
     */
    @Deprecated
    public double getPct(Object v) {
        return getCumPct((Comparable<?>) v);
    }

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