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 Sadowski (Jira)" <ji...@apache.org> on 2021/07/20 16:09:00 UTC

[jira] [Resolved] (MATH-1616) Refactor "EmpiricalDistribution" class

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

Gilles Sadowski resolved MATH-1616.
-----------------------------------
    Resolution: Done

Commit 9dbceb0ed1d58c6ccb4d841a2384fe8f6d98149c ("master" branch).

> Refactor "EmpiricalDistribution" class
> --------------------------------------
>
>                 Key: MATH-1616
>                 URL: https://issues.apache.org/jira/browse/MATH-1616
>             Project: Commons Math
>          Issue Type: Improvement
>    Affects Versions: 3.6.1
>            Reporter: Gilles Sadowski
>            Priority: Major
>              Labels: api, refactor
>             Fix For: 4.0
>
>
> [API|https://gitbox.apache.org/repos/asf?p=commons-math.git;a=blob;f=commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/distribution/EmpiricalDistribution.java;h=65e580883c5e7c755bb9b4ec028fc048b66a24cc;hb=HEAD] is error-prone.
> An example of this is described in MATH-1462.
> It is proposed that
> * the class be immutable (ensuring that the user's attention is focused on providing consistent input at construction),
> * loading of data from file, or URL, be removed (as it is out-of-scope).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)