commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nguyen phuc lam (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LANG-856) Code refactoring in NumberUtils
Date Tue, 13 Nov 2012 05:45:12 GMT

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

nguyen phuc lam updated LANG-856:
---------------------------------

    Attachment: NumberUtils.diff
    
> Code refactoring in NumberUtils
> -------------------------------
>
>                 Key: LANG-856
>                 URL: https://issues.apache.org/jira/browse/LANG-856
>             Project: Commons Lang
>          Issue Type: Improvement
>          Components: lang.math.*
>            Reporter: nguyen phuc lam
>            Priority: Minor
>             Fix For: 3.x
>
>         Attachments: NumberUtils.diff
>
>
> NumberUtils contains some redundant pieces of code which are doing the same validation
on the array parameter. This validation should be extracted to a method which will be called
by other methods in this class.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message