commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MATH-759) ListUnivariateImpl does not always access windowSize using synch.
Date Sat, 03 Mar 2012 01:17:59 GMT
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


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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message