From issues-return-30641-apmail-commons-issues-archive=commons.apache.org@commons.apache.org Tue Nov 13 05:45:15 2012 Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4FDEED8B1 for ; Tue, 13 Nov 2012 05:45:15 +0000 (UTC) Received: (qmail 57340 invoked by uid 500); 13 Nov 2012 05:45:15 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 56824 invoked by uid 500); 13 Nov 2012 05:45:13 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 56784 invoked by uid 99); 13 Nov 2012 05:45:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Nov 2012 05:45:12 +0000 Date: Tue, 13 Nov 2012 05:45:12 +0000 (UTC) From: "nguyen phuc lam (JIRA)" To: issues@commons.apache.org Message-ID: <922904196.105877.1352785512413.JavaMail.jiratomcat@arcas> In-Reply-To: <723883563.105876.1352785512153.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (LANG-856) Code refactoring in NumberUtils MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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