Will rely on the format of the toString() that is applied to either a List or Java array, which will result in the following output:
[One, Two],[Three, Four]
It would be better to not include the brackets as the output shouldn't be reliant on how Java serialized an array or collection. Thus, the output should be:
Tests such as this one here:
https://github.com/damnhandy/Handy-URI-Templates/blob/master/src/test/java/com/damnhandy/uri/template/TestDifferentDataTypes.java#L137
Will rely on the format of the
toString()
that is applied to either aList
or Java array, which will result in the following output:It would be better to not include the brackets as the output shouldn't be reliant on how Java serialized an array or collection. Thus, the output should be: