[jira] [Created] (MATH-829) Remove "throws" clauses from "TestUtils"

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (MATH-829) Remove "throws" clauses from "TestUtils"

ASF GitHub Bot (Jira)
Gilles created MATH-829:
---------------------------

             Summary: Remove "throws" clauses from "TestUtils"
                 Key: MATH-829
                 URL: https://issues.apache.org/jira/browse/MATH-829
             Project: Commons Math
          Issue Type: Task
            Reporter: Gilles
            Assignee: Gilles
            Priority: Trivial
             Fix For: 3.1


Some methods of the class "TestUtils" declare to throw the standard (checked) "Exception" whereas all exceptions are now unchecked in Commons Math.
This clause should be removed from the signature.


--
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

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (MATH-829) Remove "throws" clauses from "TestUtils"

ASF GitHub Bot (Jira)

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

Gilles commented on MATH-829:
-----------------------------

"throws" clauses removed in revision 1363575.

I'll remove the now unnecessary clauses that remain in some unit tests.

               

> Remove "throws" clauses from "TestUtils"
> ----------------------------------------
>
>                 Key: MATH-829
>                 URL: https://issues.apache.org/jira/browse/MATH-829
>             Project: Commons Math
>          Issue Type: Task
>            Reporter: Gilles
>            Assignee: Gilles
>            Priority: Trivial
>              Labels: test
>             Fix For: 3.1
>
>
> Some methods of the class "TestUtils" declare to throw the standard (checked) "Exception" whereas all exceptions are now unchecked in Commons Math.
> This clause should be removed from the signature.

--
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

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (MATH-829) Remove "throws" clauses from "TestUtils"

ASF GitHub Bot (Jira)
In reply to this post by ASF GitHub Bot (Jira)

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

Gilles commented on MATH-829:
-----------------------------

Removed unnecessary clauses in revision 1364028.

               

> Remove "throws" clauses from "TestUtils"
> ----------------------------------------
>
>                 Key: MATH-829
>                 URL: https://issues.apache.org/jira/browse/MATH-829
>             Project: Commons Math
>          Issue Type: Task
>            Reporter: Gilles
>            Assignee: Gilles
>            Priority: Trivial
>              Labels: test
>             Fix For: 3.1
>
>
> Some methods of the class "TestUtils" declare to throw the standard (checked) "Exception" whereas all exceptions are now unchecked in Commons Math.
> This clause should be removed from the signature.

--
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

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Comment Edited] (MATH-829) Remove "throws" clauses from "TestUtils"

ASF GitHub Bot (Jira)
In reply to this post by ASF GitHub Bot (Jira)

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

Gilles edited comment on MATH-829 at 7/21/12 1:10 AM:
------------------------------------------------------

Removed unnecessary clauses in revisions 1364028 and 1364030.

               
      was (Author: erans):
    Removed unnecessary clauses in revision 1364028.

                 

> Remove "throws" clauses from "TestUtils"
> ----------------------------------------
>
>                 Key: MATH-829
>                 URL: https://issues.apache.org/jira/browse/MATH-829
>             Project: Commons Math
>          Issue Type: Task
>            Reporter: Gilles
>            Assignee: Gilles
>            Priority: Trivial
>              Labels: test
>             Fix For: 3.1
>
>
> Some methods of the class "TestUtils" declare to throw the standard (checked) "Exception" whereas all exceptions are now unchecked in Commons Math.
> This clause should be removed from the signature.

--
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

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Resolved] (MATH-829) Remove "throws" clauses from "TestUtils"

ASF GitHub Bot (Jira)
In reply to this post by ASF GitHub Bot (Jira)

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

Gilles resolved MATH-829.
-------------------------

    Resolution: Fixed
   

> Remove "throws" clauses from "TestUtils"
> ----------------------------------------
>
>                 Key: MATH-829
>                 URL: https://issues.apache.org/jira/browse/MATH-829
>             Project: Commons Math
>          Issue Type: Task
>            Reporter: Gilles
>            Assignee: Gilles
>            Priority: Trivial
>              Labels: test
>             Fix For: 3.1
>
>
> Some methods of the class "TestUtils" declare to throw the standard (checked) "Exception" whereas all exceptions are now unchecked in Commons Math.
> This clause should be removed from the signature.

--
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