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/10/31 09:50:55 UTC
[jira] Updated: (BEANUTILS-64) [beanutils] ConvertUtils.convert
returns 0 for Strings with leading blanks at converting String arrays to
Integer arrays
[ http://issues.apache.org/jira/browse/BEANUTILS-64?page=all ]
Henri Yandell updated BEANUTILS-64:
-----------------------------------
Bugzilla Id: (was: 39555)
Fix Version/s: 1.8.0
> [beanutils] ConvertUtils.convert returns 0 for Strings with leading blanks at converting String arrays to Integer arrays
> ------------------------------------------------------------------------------------------------------------------------
>
> Key: BEANUTILS-64
> URL: http://issues.apache.org/jira/browse/BEANUTILS-64
> Project: Commons BeanUtils
> Issue Type: Bug
> Environment: Operating System: Windows XP
> Platform: PC
> Reporter: Rainer Dollinger
> Assigned To: Henri Yandell
> Priority: Minor
> Fix For: 1.8.0
>
>
> When using ConvertUtils.convert(String[], Class) with Integer as element type to
> convert an Array of number Strings to Integer, it returns Integers with value 0,
> if there is a blank at the start of the number.
> If the method ConvertUtils.convert would do a String.trim() internally on the
> elements of the String array this could be avoided.
--
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