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