[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jakarta-commons-dev
Subject:    [jira] [Updated] (MATH-760) DescriptiveStatistics.windowSize has a getter and setter, but is protect
From:       "Thomas Neidhart (JIRA)" <jira () apache ! org>
Date:       2014-09-30 19:20:34
Message-ID: JIRA.12545019.1330737644000.157627.1412104834067 () Atlassian ! JIRA
[Download RAW message or body]


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

Thomas Neidhart updated MATH-760:
---------------------------------
    Priority: Minor  (was: Major)

> DescriptiveStatistics.windowSize has a getter and setter, but is protected, so \
>                 subclasses can bypass the validation check in the setter
> ---------------------------------------------------------------------------------------------------------------------------------------
>  
> Key: MATH-760
> URL: https://issues.apache.org/jira/browse/MATH-760
> Project: Commons Math
> Issue Type: Bug
> Reporter: Sebb
> Priority: Minor
> Fix For: 4.0
> 
> 
> DescriptiveStatistics.windowSize has a setter which does validation and maintains \
> the list if necessary. However the field is protected, so classes can ignore the \
> setter. As it happens, this is exactly what the subclass \
> ListUnivariateImpl.setWindowSize does. The field should be made private.



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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic