shuyangzhou/liferay-portal — pull request #812 by lipusz (2014-11-21 15:33:28+00:00)
Title: [TECHNICAL-SUPPORT] LPS-29927 GetterUtil getDouble should consider locales to parse from String

https://issues.liferay.com/browse/LPS-29927

Hi Shuyang,

I know that Shopping is not your business generally, but now, it belongs to nobody according to our Core Dev Comp. Hierarchy sheet, plus, the changes of this pull are concentrated to Getter/ParamUtil (the others are just usages of the new stuffs) so I thought it was better to let you check the concept.

You can read a brief summary about the shopping aspects of the problem here: https://issues.liferay.com/browse/LPS-29927?focusedCommentId=538274&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-538274

@cleydyr: if your concept gets accepted by Shuyang and Brian, please, implement the missing getters like getDouble(Object, Locale), getDouble(Object, Locale, defDouble), getDoubleValues(Object, Locale), getDoubleValues(Object, Locale, defDoubleArray) etc.

to make it more reusable.

Moreover, I think, it also would be worth to add similar getters for "float".

@shuyangzhou Let us know if you may have any concerns.

Best,
Tibor