[ 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]