Thanks Amar for taking a look again.
Ok, it is better than get. its little lighter
Updated the patch by addressing the comments.
Class<?> classes =
This is due to formatter. I am usiing hadoop formatter only. Manually i changed it.
3. Instead of assertTrue, you can use assertEquals()
Yes, assertEquals will give the values in trace when it is failing. But i included the value in error message.Since they are premitives i used assertTrue.
Now i changed it to assertEquals.
4. Kindly add a testcase for a value of "". The output should be an empty array.
Added test for "".
Amar, can you please take a look?