You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Andres Almiray (JIRA)" <ji...@apache.org> on 2006/07/03 22:42:29 UTC
[jira] Created: (LANG-267) Support char array converters on
ArrayUtils
Support char array converters on ArrayUtils
-------------------------------------------
Key: LANG-267
URL: http://issues.apache.org/jira/browse/LANG-267
Project: Commons Lang
Type: New Feature
Versions: 2.2
Reporter: Andres Almiray
Priority: Minor
I don't know it the following methods have been overlooked, but they will make a fine addition to ArrayUtils:
public static char[] toPrimitive(Character[] array)
public static char[] toPrimitive(Character[] array, char valueForNull)
public static Object[] toObject(char[] array)
--
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
[jira] Updated: (LANG-267) Support char array converters on
ArrayUtils
Posted by "Andres Almiray (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/LANG-267?page=all ]
Andres Almiray updated LANG-267:
--------------------------------
Attachment: ArrayUtils.txt
Implementation based on similar methods
> Support char array converters on ArrayUtils
> -------------------------------------------
>
> Key: LANG-267
> URL: http://issues.apache.org/jira/browse/LANG-267
> Project: Commons Lang
> Type: New Feature
> Versions: 2.2
> Reporter: Andres Almiray
> Priority: Minor
> Attachments: ArrayUtils.txt
>
> I don't know it the following methods have been overlooked, but they will make a fine addition to ArrayUtils:
> public static char[] toPrimitive(Character[] array)
> public static char[] toPrimitive(Character[] array, char valueForNull)
> public static Object[] toObject(char[] array)
--
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
[jira] Resolved: (LANG-267) Support char array converters on
ArrayUtils
Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/LANG-267?page=all ]
Henri Yandell resolved LANG-267:
--------------------------------
Fix Version: 2.2
(was: 2.3)
Resolution: Fixed
Resolved in time for 2.2:
svn ci -m "Adding the missing char/Character methods in ArrayUtils, as pointed out (and pat
ched) by Andres Almiray in LANG-267" src/java/org/apache/commons/lang/ArrayUtils.java src/test/org/apache/commons/lang/ArrayUtilsTest.java
Sending src/java/org/apache/commons/lang/ArrayUtils.java
Sending src/test/org/apache/commons/lang/ArrayUtilsTest.java
Transmitting file data ..
Committed revision 419122.
> Support char array converters on ArrayUtils
> -------------------------------------------
>
> Key: LANG-267
> URL: http://issues.apache.org/jira/browse/LANG-267
> Project: Commons Lang
> Type: New Feature
> Versions: 2.2
> Reporter: Andres Almiray
> Priority: Minor
> Fix For: 2.2
> Attachments: ArrayUtils.txt, commons-lang_ArrayUtils-with-test.patch, commons-lang_ArrayUtils.patch
>
> I don't know it the following methods have been overlooked, but they will make a fine addition to ArrayUtils:
> public static char[] toPrimitive(Character[] array)
> public static char[] toPrimitive(Character[] array, char valueForNull)
> public static Object[] toObject(char[] array)
--
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
[jira] Updated: (LANG-267) Support char array converters on
ArrayUtils
Posted by "Andres Almiray (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/LANG-267?page=all ]
Andres Almiray updated LANG-267:
--------------------------------
Attachment: commons-lang_ArrayUtils.patch
Here is the code in patch format
> Support char array converters on ArrayUtils
> -------------------------------------------
>
> Key: LANG-267
> URL: http://issues.apache.org/jira/browse/LANG-267
> Project: Commons Lang
> Type: New Feature
> Versions: 2.2
> Reporter: Andres Almiray
> Priority: Minor
> Fix For: 2.3
> Attachments: ArrayUtils.txt, commons-lang_ArrayUtils.patch
>
> I don't know it the following methods have been overlooked, but they will make a fine addition to ArrayUtils:
> public static char[] toPrimitive(Character[] array)
> public static char[] toPrimitive(Character[] array, char valueForNull)
> public static Object[] toObject(char[] array)
--
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
[jira] Commented: (LANG-267) Support char array converters on
ArrayUtils
Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/LANG-267?page=comments#action_12419169 ]
Henri Yandell commented on LANG-267:
------------------------------------
Ugh - sorry for not noticing you'd already attached the ArrayUtils.txt, Andres.
Do you have any time to write a unit test for each method?
> Support char array converters on ArrayUtils
> -------------------------------------------
>
> Key: LANG-267
> URL: http://issues.apache.org/jira/browse/LANG-267
> Project: Commons Lang
> Type: New Feature
> Versions: 2.2
> Reporter: Andres Almiray
> Priority: Minor
> Fix For: 2.3
> Attachments: ArrayUtils.txt, commons-lang_ArrayUtils.patch
>
> I don't know it the following methods have been overlooked, but they will make a fine addition to ArrayUtils:
> public static char[] toPrimitive(Character[] array)
> public static char[] toPrimitive(Character[] array, char valueForNull)
> public static Object[] toObject(char[] array)
--
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
[jira] Commented: (LANG-267) Support char array converters on
ArrayUtils
Posted by "Gary Gregory (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/LANG-267?page=comments#action_12419316 ]
Gary Gregory commented on LANG-267:
-----------------------------------
Is [lang] the right project for this instead of [primitives]? Where do we draw the line between [primitives] and [lang]?
> Support char array converters on ArrayUtils
> -------------------------------------------
>
> Key: LANG-267
> URL: http://issues.apache.org/jira/browse/LANG-267
> Project: Commons Lang
> Type: New Feature
> Versions: 2.2
> Reporter: Andres Almiray
> Priority: Minor
> Fix For: 2.2
> Attachments: ArrayUtils.txt, commons-lang_ArrayUtils-with-test.patch, commons-lang_ArrayUtils.patch
>
> I don't know it the following methods have been overlooked, but they will make a fine addition to ArrayUtils:
> public static char[] toPrimitive(Character[] array)
> public static char[] toPrimitive(Character[] array, char valueForNull)
> public static Object[] toObject(char[] array)
--
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
[jira] Commented: (LANG-267) Support char array converters on
ArrayUtils
Posted by "Stephen Colebourne (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/LANG-267?page=comments#action_12419334 ]
Stephen Colebourne commented on LANG-267:
-----------------------------------------
[lang] is the correct location, as [primitives] is solely about priimtive implementations of collections
> Support char array converters on ArrayUtils
> -------------------------------------------
>
> Key: LANG-267
> URL: http://issues.apache.org/jira/browse/LANG-267
> Project: Commons Lang
> Type: New Feature
> Versions: 2.2
> Reporter: Andres Almiray
> Priority: Minor
> Fix For: 2.2
> Attachments: ArrayUtils.txt, commons-lang_ArrayUtils-with-test.patch, commons-lang_ArrayUtils.patch
>
> I don't know it the following methods have been overlooked, but they will make a fine addition to ArrayUtils:
> public static char[] toPrimitive(Character[] array)
> public static char[] toPrimitive(Character[] array, char valueForNull)
> public static Object[] toObject(char[] array)
--
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
[jira] Updated: (LANG-267) Support char array converters on
ArrayUtils
Posted by "Andres Almiray (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/LANG-267?page=all ]
Andres Almiray updated LANG-267:
--------------------------------
Attachment: commons-lang_ArrayUtils-with-test.patch
Yes, of course. I'm terribly sorry for forgetting the test, I left it behind =)
> Support char array converters on ArrayUtils
> -------------------------------------------
>
> Key: LANG-267
> URL: http://issues.apache.org/jira/browse/LANG-267
> Project: Commons Lang
> Type: New Feature
> Versions: 2.2
> Reporter: Andres Almiray
> Priority: Minor
> Fix For: 2.3
> Attachments: ArrayUtils.txt, commons-lang_ArrayUtils-with-test.patch, commons-lang_ArrayUtils.patch
>
> I don't know it the following methods have been overlooked, but they will make a fine addition to ArrayUtils:
> public static char[] toPrimitive(Character[] array)
> public static char[] toPrimitive(Character[] array, char valueForNull)
> public static Object[] toObject(char[] array)
--
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
[jira] Updated: (LANG-267) Support char array converters on
ArrayUtils
Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/LANG-267?page=all ]
Henri Yandell updated LANG-267:
-------------------------------
Issue Type: Improvement (was: New Feature)
> Support char array converters on ArrayUtils
> -------------------------------------------
>
> Key: LANG-267
> URL: http://issues.apache.org/jira/browse/LANG-267
> Project: Commons Lang
> Issue Type: Improvement
> Affects Versions: 2.2
> Reporter: Andres Almiray
> Priority: Minor
> Fix For: 2.2
>
> Attachments: ArrayUtils.txt, commons-lang_ArrayUtils-with-test.patch, commons-lang_ArrayUtils.patch
>
>
> I don't know it the following methods have been overlooked, but they will make a fine addition to ArrayUtils:
> public static char[] toPrimitive(Character[] array)
> public static char[] toPrimitive(Character[] array, char valueForNull)
> public static Object[] toObject(char[] array)
--
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
[jira] Updated: (LANG-267) Support char array converters on
ArrayUtils
Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/LANG-267?page=all ]
Henri Yandell updated LANG-267:
-------------------------------
Fix Version: 2.3
They seem like fine additions. Patches definitely welcomed (then I can push it in to the 2.2 release).
> Support char array converters on ArrayUtils
> -------------------------------------------
>
> Key: LANG-267
> URL: http://issues.apache.org/jira/browse/LANG-267
> Project: Commons Lang
> Type: New Feature
> Versions: 2.2
> Reporter: Andres Almiray
> Priority: Minor
> Fix For: 2.3
> Attachments: ArrayUtils.txt
>
> I don't know it the following methods have been overlooked, but they will make a fine addition to ArrayUtils:
> public static char[] toPrimitive(Character[] array)
> public static char[] toPrimitive(Character[] array, char valueForNull)
> public static Object[] toObject(char[] array)
--
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