You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Paul Benedict (JIRA)" <ji...@apache.org> on 2007/05/09 06:32:15 UTC
[jira] Created: (LANG-332) EqualsBuilder to alternatively use
method properties
EqualsBuilder to alternatively use method properties
----------------------------------------------------
Key: LANG-332
URL: https://issues.apache.org/jira/browse/LANG-332
Project: Commons Lang
Issue Type: Improvement
Affects Versions: 2.3
Reporter: Paul Benedict
Fix For: 3.0
While it is very nice reflection can be used to build a nice equals method, the strategy to focus on private properties is non-negotiable. This strategy is incompatible with CGLIB proxies which rely on method invocations to delegate to the properties of the inner target. I would prefer a switch to dynamically invoke public get* methods over direct property access.
PS: Same thoughts on ReflectionToStringBuilder and HashCodeBuilder
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org