[
https://issues.apache.org/jira/browse/BEANUTILS-64?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Niall Pemberton resolved BEANUTILS-64.
--------------------------------------
Resolution: Won't Fix
The previous converters for arrays have been deprecated and the new
ArrayConverter (which doesn't have this issue) is now the registered default.
> [beanutils] ConvertUtils.convert returns 0 for Strings with leading blanks at
> converting String arrays to Integer arrays
> ------------------------------------------------------------------------------------------------------------------------
>
> Key: BEANUTILS-64
> URL: https://issues.apache.org/jira/browse/BEANUTILS-64
> Project: Commons BeanUtils
> Issue Type: Bug
> Components: ConvertUtils & Converters
> Environment: Operating System: Windows XP
> Platform: PC
> Reporter: Rainer Dollinger
> 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.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]