Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/DISPL-146

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: DISPL-146
    Summary: LookupUtil.getBeanProperty() may be unnecessary
       Type: Improvement

     Status: Unassigned
   Priority: Trivial

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: DisplayTag
 Components: 
             Tag Library
   Versions:
             1.0 RC2

   Assignee: 
   Reporter: J. Patterson Waltz III

    Created: Sat, 4 Dec 2004 12:22 AM
    Updated: Sat, 4 Dec 2004 12:22 AM

Description:
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;
            }


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to