[ 
https://issues.apache.org/jira/browse/OFBIZ-3418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mirko Vogelsmeier updated OFBIZ-3418:
-------------------------------------

    Attachment: UtilProperties.java.patch

Hi,
i did update my method "getPropertyNumber" a bit and
as requested i added "getPropertyAsInteger / asLong /  AsFloat  / AsDouble / 
AsBigInteger / AsBigDecimal".
In addition i added a "getPropertyAsBoolean".

> Improve UtilProperties.java with a new Method getPropertyNumber which returns 
> an Object of the Number or a defaultObject
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3418
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3418
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Mirko Vogelsmeier
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: apache_ofbiz_community.patch, UtilProperties.java.patch
>
>   Original Estimate: 0.03h
>  Remaining Estimate: 0.03h
>
> Improvement of UtilProperties.java with a new method which returns the Number 
> as an Object of the specified property name from the specified 
> resource/properties file.
> If the specified property name or properties file is not found, the 
> defaultObject is returned.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to