You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Thomas Neidhart (JIRA)" <ji...@apache.org> on 2012/10/22 20:50:12 UTC

[jira] [Resolved] (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 ]

Thomas Neidhart resolved MATH-759.
----------------------------------

    Resolution: Fixed

I can confirm that the issue can be closed.
                
> 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