On 06/05/2014 15:52, Ivan Gerasimov wrote:
I think the the existing tests pre-date the vararg variant of register, there isn't a big need to change those.I tried to make the added test consistent with the rest of the code. I can surely rewrite it, but should I refactor other code as well then?
For the new test then it would be good to use try-with-resources here. It would be good to change testExceptions too but not important for this change.
-Alan.
