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 (JIRA)" <ji...@apache.org> on 2012/10/22 16:14:12 UTC

[jira] [Updated] (MATH-759) ListUnivariateImpl does not always access windowSize using synch.

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

Gilles updated MATH-759:
------------------------

    Fix Version/s: 3.1

It seems that this issue can be resolved. Please confirm.
                
> ListUnivariateImpl does not always access windowSize using synch.
> -----------------------------------------------------------------
>
>                 Key: MATH-759
>                 URL: https://issues.apache.org/jira/browse/MATH-759
>             Project: Commons Math
>          Issue Type: Bug
>            Reporter: Sebb
>            Priority: Minor
>             Fix For: 3.1
>
>
> ListUnivariateImpl has two synch. methods:
> getWindowSize
> setWindowSize
> However, windowSize is frequently referenced elsewhere without synch.
> It's not clear why the methods need synch., but if there is a need, then windowSize should always be read using synch.
> The code should use the super-class getter and setter.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira