[
https://issues.apache.org/jira/browse/OFBIZ-7339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15331193#comment-15331193 ]
Rahul Singh commented on OFBIZ-7339:
------------------------------------
Here is the patch to use methods as per their purpose at various places in the system. Thanks to Arun Patidar and Rishi Solanki for discussion and review.
> Replace EntityUtilProperties getPropertyValue method with correct method calls
> ------------------------------------------------------------------------------
>
> Key: OFBIZ-7339
> URL:
https://issues.apache.org/jira/browse/OFBIZ-7339> Project: OFBiz
> Issue Type: Bug
> Components: content, framework, manufacturing, party, product, securityext, specialpurpose/ecommerce, specialpurpose/lucene, specialpurpose/passport, workeffort
> Affects Versions: Trunk
> Reporter: Rishi Solanki
> Attachments: EntityUtilProperties.patch
>
>
> In current OFBiz system at many places many methods implemented but not used as per their purpose. One example is in EntityUtilProperties we have getPropertyAsInteger() and getPropertyAsBigDecimal() and other methods which returns specific type data. But at most places system uses getPropertyValue() which returns string and then do explicit conversions.
> System should use proper methods for which they have been implemented.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)