[jira] Created: (MATH-210) public method FirstOrderIntegrator.getSwitchingFunctions() return type references a package protected class

View: New views
2 Messages — Rating Filter:   Alert me  

[jira] Created: (MATH-210) public method FirstOrderIntegrator.getSwitchingFunctions() return type references a package protected class

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

public method FirstOrderIntegrator.getSwitchingFunctions() return type references a package protected class
-----------------------------------------------------------------------------------------------------------

                 Key: MATH-210
                 URL: https://issues.apache.org/jira/browse/MATH-210
             Project: Commons Math
          Issue Type: Bug
    Affects Versions: 1.2
         Environment: all
            Reporter: Luc Maisonobe
            Assignee: Luc Maisonobe
            Priority: Trivial
             Fix For: 2.0


getSwitchingFunctions() returns a collection of SwitchState, not a collection of SwitchingFunction.
This is counter-intuitive and not useful since the class is package protected so cannot be used outside.
This is also not useful since one cannot retrieve the underlying switching function.

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


[jira] Resolved: (MATH-210) public method FirstOrderIntegrator.getSwitchingFunctions() return type references a package protected class

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

Luc Maisonobe resolved MATH-210.
--------------------------------

    Resolution: Fixed

fixed as of r673752

> public method FirstOrderIntegrator.getSwitchingFunctions() return type references a package protected class
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: MATH-210
>                 URL: https://issues.apache.org/jira/browse/MATH-210
>             Project: Commons Math
>          Issue Type: Bug
>    Affects Versions: 1.2
>         Environment: all
>            Reporter: Luc Maisonobe
>            Assignee: Luc Maisonobe
>            Priority: Trivial
>             Fix For: 2.0
>
>
> getSwitchingFunctions() returns a collection of SwitchState, not a collection of SwitchingFunction.
> This is counter-intuitive and not useful since the class is package protected so cannot be used outside.
> This is also not useful since one cannot retrieve the underlying switching function.

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