You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Rostislav Krasny (JIRA)" <ji...@apache.org> on 2015/12/28 20:41:49 UTC

[jira] [Commented] (MATH-1309) RNG: public "setSeed" method should not be called from inside the constructor

    [ https://issues.apache.org/jira/browse/MATH-1309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15073074#comment-15073074 ] 

Rostislav Krasny commented on MATH-1309:
----------------------------------------

Why it is dangerous?

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