Uploaded image for project: 'Apache Onami'
  1. Apache Onami
  2. ONAMI-56

simplify org.apache.onami.test.reflection.HandleException(String) construction introducing varargs

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: test-1.4.0
    • Fix Version/s: test-1.4.0
    • Component/s: test
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              simone.tripodi Simone Tripodi
              Reporter:
              simone.tripodi Simone Tripodi
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: