You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@onami.apache.org by "Mikhail Mazursky (JIRA)" <ji...@apache.org> on 2014/02/22 14:11:55 UTC

[jira] [Closed] (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:all-tabpanel ]

Mikhail Mazursky closed ONAMI-56.
---------------------------------


> 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 was sent by Atlassian JIRA
(v6.1.5#6160)