liferay/liferay-mobile-sdk — pull request #6 by gamerson (2014-02-19 10:01:35+00:00)
Title: Fixed ClassCastException with PortletService.getWarPortlets() 

Previously the PortletService.getWarPortlets() would through a ClassCastException because the generated API was expected the server to return a JSONObject but it returns a JSONArray instead.

This commit changes the code generation to generate PortletService.getWarPortlets() to have proper JSONArray return type.

However, I'm not sure what other methods would be selected. I did some research and there seemed to be 1 or 2 more methods that had type=="java.util.Collection..." but were returning JSONObject. Likely those APIs were also incorrect. Hopefully this change will fix those as well.