[ 
http://jira.codehaus.org/browse/DISPL-146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

[EMAIL PROTECTED] deleted DISPL-146:
------------------------------------


> LookupUtil.getBeanProperty() may be unnecessary
> -----------------------------------------------
>
>                 Key: DISPL-146
>                 URL: http://jira.codehaus.org/browse/DISPL-146
>             Project: DisplayTag
>          Issue Type: Improvement
>          Components: Tag Library
>    Affects Versions: 1.0 RC2
>            Reporter: J. Patterson Waltz III
>            Assignee: fabrizio giustina
>            Priority: Trivial
>             Fix For: 1.1
>
>
> Your javadoc says you created LookupUtil.getBeanProperty to allow 
> intermediate nulls. If I am not mistaken, you could just use the the commons 
> version by making this change in LookupUtil:
> replace
>             // go get the property
>             return getBeanProperty(beanObject, beanProperty);
> with
>             // go get the property
>             try 
>             {
>                 return PropertyUtils.getProperty(beanObject, beanProperty);
>             }
>                 catch (NestedNullException nne)
>             {
>                 return null;
>             }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to