commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (BEANUTILS-262) getPropertyDescriptor() and setNestedProperty() methods are inconsistent with getNestedProperty() method - should throw a NestedNullException
Date Sat, 11 Nov 2006 15:54:38 GMT
     [ http://issues.apache.org/jira/browse/BEANUTILS-262?page=all ]

Niall Pemberton resolved BEANUTILS-262.
---------------------------------------

    Resolution: Fixed

Fixed in PropertyUtilsBean

http://svn.apache.org/viewvc?view=rev&revision=473742

> getPropertyDescriptor() and setNestedProperty() methods are inconsistent with getNestedProperty()
method - should throw a NestedNullException
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: BEANUTILS-262
>                 URL: http://issues.apache.org/jira/browse/BEANUTILS-262
>             Project: Commons BeanUtils
>          Issue Type: Bug
>          Components: Bean / Property Utils
>    Affects Versions: 1.7.0
>            Reporter: Niall Pemberton
>         Assigned To: Niall Pemberton
>            Priority: Minor
>             Fix For: 1.8.0
>
>
> getNestedProperty() method it throws a NestedNullException if a bean in the nested expression
is null - getPropertyDescriptor() and setNestedProperty() methods don't, they just throw an
IllegalArgumentException.
> Switching to NestedNullException is a compatible change since IllegalArgumentException
is a super class of NestedNullException.

-- 
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


Mime
View raw message