You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2006/12/29 19:50:24 UTC
[jira] Closed: (LANG-238) [lang] Add equals(type[]) to NumberUtils
[ http://issues.apache.org/jira/browse/LANG-238?page=all ]
Henri Yandell closed LANG-238.
------------------------------
Resolution: Won't Fix
Doh - Thanks for catching that Stephen.
Rolling back the commit:
svn merge -r467482:467481 .
svn ci -m "Rolling back r467482 as the methods are already in java.util.Arrays. These were added as a part of #LANG-238. "
Sending src/java/org/apache/commons/lang/math/NumberUtils.java
Sending src/test/org/apache/commons/lang/math/NumberUtilsTest.java
Transmitting file data ..
Committed revision 491076.
> [lang] Add equals(type[]) to NumberUtils
> ----------------------------------------
>
> Key: LANG-238
> URL: http://issues.apache.org/jira/browse/LANG-238
> Project: Commons Lang
> Issue Type: Improvement
> Affects Versions: Nightly Builds
> Environment: Operating System: other
> Platform: Other
> Reporter: Paul Benedict
> Priority: Minor
> Fix For: 2.3
>
>
> It would be useful to add an equals() method like the current min and max
> methods which take an array type and determine if all the values are equal.
> I have found myself in need of this often. I have to retrieve objects from
> multiple data sources in parallel to build an array of complex object. To ensure
> validity, I always compare that my sub-retrievals returned the same number of
> objects as expected.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org