chirino/resty-gwt — pull request #116 by bmustiata (2012-12-04 13:10:22+00:00)
Title: Fixed a bug using FormParams where List and Arrays were not serialized correctly.

Let me first apologize for not testing sufficiently the feature I've added.

I've noticed that my handling of form params didn't parsed correctly Arrays, List and Maps of DTOs, because my assumption was the object's toString() would be correct if it's a java.* object. Since lists are java.util.List objects, the seralizing to JSON wasn't performed for them.

Thus I fixed it by checking if the given class is in java.lang.* and updated the test case for this.