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

Sebb updated MATH-422:
----------------------

        Summary: Constructor calls overrideable methods  (was: 
analysis.interpolation.MicrosphereInterpolator ctor calls overrideable methods)
    Description: 
The ctor MicrosphereInterpolator(int microsphereElements, int 
brightnessExponent) calls 2 public setters that are not final.
This is unsafe if the class is ever extended.

Likewise for ComplexFormat(String imaginaryCharacter, NumberFormat realFormat,  
NumberFormat imaginaryFormat)


Are the setters even needed?



  was:
The ctor MicrosphereInterpolator(int microsphereElements, int 
brightnessExponent) calls 2 public setters that are not final.
This is unsafe if the class is ever extended.

Are the setters even needed?




> Constructor calls overrideable methods
> --------------------------------------
>
>                 Key: MATH-422
>                 URL: https://issues.apache.org/jira/browse/MATH-422
>             Project: Commons Math
>          Issue Type: Bug
>            Reporter: Sebb
>
> The ctor MicrosphereInterpolator(int microsphereElements, int 
> brightnessExponent) calls 2 public setters that are not final.
> This is unsafe if the class is ever extended.
> Likewise for ComplexFormat(String imaginaryCharacter, NumberFormat 
> realFormat,  NumberFormat imaginaryFormat)
> Are the setters even needed?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to