You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@onami.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2013/01/20 08:20:13 UTC

[jira] [Commented] (ONAMI-56) simplify org.apache.onami.test.reflection.HandleException(String) construction introducing varargs

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

Hudson commented on ONAMI-56:
-----------------------------

Integrated in Onami-Test #64 (See [https://builds.apache.org/job/Onami-Test/64/])
    [ONAMI-56] simplify org.apache.onami.test.reflection.HandleException(String) construction introducing varargs (Revision 1435706)

     Result = SUCCESS
simonetripodi : 
Files : 
* /incubator/onami/trunk/test/src/main/java/org/apache/onami/test/handler/MockHandler.java
* /incubator/onami/trunk/test/src/main/java/org/apache/onami/test/reflection/HandleException.java

                
> simplify org.apache.onami.test.reflection.HandleException(String) construction introducing varargs
> --------------------------------------------------------------------------------------------------
>
>                 Key: ONAMI-56
>                 URL: https://issues.apache.org/jira/browse/ONAMI-56
>             Project: Apache Onami
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: test-1.4.0
>            Reporter: Simone Tripodi
>            Assignee: Simone Tripodi
>             Fix For: test-1.4.0
>
>
> org.apache.onami.test.handler.MockHandler class trows org.apache.onami.test.reflection.HandleException building error message concatenating string
> This is not just not efficient, it is also less developer friendly for maintenance, it would be easier introducing varags constructor such as HandleException(String, Object...args) - which keeps also backward compatibility 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira