You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2005/05/29 15:03:26 UTC

DO NOT REPLY [Bug 27760] - [beanutils] MappedPropertyDescriptor wont recognize boolean property accessor

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=27760>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27760





------- Additional Comments From zment@cox.net  2005-05-29 15:03 -------
I would like to propose the following:

Change the constructor MappedPropertyDescriptor(String , Class)
to call newly created findReadMethod and findWriteMethod methods.

All new methods would have the same signatures as the findMethod methods.

findReadMethod methods would do much the same as before, except they would try 
to find a "get" and "is" method using the internalFindMethod.

findWriteMethod would act as before, added only for consistency.


This change would have the least impact on the current code and avoid having to 
try to find a "is" method after catching an IntrospectionException.

If this is acceptable I can add the code and test case(s) as a patch.


Travis Zimmerman

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org