commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (MATH-1309) RNG: public "setSeed" method should not be called from inside the constructor
Date Mon, 28 Dec 2015 17:29:49 GMT

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

Gilles resolved MATH-1309.
--------------------------
    Resolution: Fixed

Created private methods "setSeedInternal" in commit 4fc5b3402c58d6a4b317bf23b896ea91d22af6fe
(master).

> RNG: public "setSeed" method should not be called from inside the constructor
> -----------------------------------------------------------------------------
>
>                 Key: MATH-1309
>                 URL: https://issues.apache.org/jira/browse/MATH-1309
>             Project: Commons Math
>          Issue Type: Bug
>    Affects Versions: 3.5
>            Reporter: Gilles
>            Assignee: Gilles
>            Priority: Minor
>             Fix For: 4.0
>
>
> It is dangerous to call an overridable method from inside a constructor.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message