commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (MATH-422) Constructor calls overrideable methods
Date Fri, 07 Jan 2011 20:35:45 GMT

    [ https://issues.apache.org/jira/browse/MATH-422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12978952#action_12978952
] 

Gilles edited comment on MATH-422 at 1/7/11 3:34 PM:
-----------------------------------------------------

Revision 1056493.

      was (Author: erans):
    Rrevision 1056493.
  
> Constructor calls overrideable methods
> --------------------------------------
>
>                 Key: MATH-422
>                 URL: https://issues.apache.org/jira/browse/MATH-422
>             Project: Commons Math
>          Issue Type: Bug
>            Reporter: Sebb
>             Fix For: 3.0
>
>
> 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.


Mime
View raw message