You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "jiangbin (JIRA)" <ji...@apache.org> on 2014/04/17 17:04:27 UTC

[jira] [Created] (BEANUTILS-462) org.springframework.beans.BeanUtils.copyProperties(dest,target) must not auto init number Wrapper Class

jiangbin created BEANUTILS-462:
----------------------------------

             Summary: org.springframework.beans.BeanUtils.copyProperties(dest,target) must not auto init number Wrapper Class 
                 Key: BEANUTILS-462
                 URL: https://issues.apache.org/jira/browse/BEANUTILS-462
             Project: Commons BeanUtils
          Issue Type: Bug
          Components: Bean / Property Utils
    Affects Versions: 1.8.3
         Environment: jdk1.7 eclipse
            Reporter: jiangbin


Necessary to prohibit org.apache.commons.beanutils.BeanUtils.copyProperties (dest, source) method automatic initial the wrapper class type value, because this will cause ambiguity, normally if source property is Integer and value is null,after copied this property​,target object property must not auto init to 0, this will generate an error of logic, analog spring of org.springframework.beans.BeanUtils would not use  of this error logical



--
This message was sent by Atlassian JIRA
(v6.2#6252)