[ 
https://issues.apache.org/jira/browse/BEANUTILS-550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alessandro updated BEANUTILS-550:
---------------------------------
    Description: 
Even if the defaultValue property of StringConverter is set to a non-null 
value, the conversion process always responds with a null.

The clue is in the getDefault method of the AbstractConverter class which, in 
case the request is to convert a null to a String, returns null

  was:
Even if the defaultValue of the StringConverter is setted whit a non-null 
value, the conversion process answer a null.

The clue is in getDefault method of AbstractConverter class that in case the 
request is to convert a null into a String returns null


> Converting null in to String is always null
> -------------------------------------------
>
>                 Key: BEANUTILS-550
>                 URL: https://issues.apache.org/jira/browse/BEANUTILS-550
>             Project: Commons BeanUtils
>          Issue Type: Bug
>          Components: ConvertUtils & Converters
>    Affects Versions: 1.9.4
>            Reporter: Alessandro
>            Priority: Major
>
> Even if the defaultValue property of StringConverter is set to a non-null 
> value, the conversion process always responds with a null.
> The clue is in the getDefault method of the AbstractConverter class which, in 
> case the request is to convert a null to a String, returns null



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to