commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LANG-332) EqualsBuilder to alternatively use method properties
Date Wed, 24 Feb 2010 09:24:28 GMT

     [ https://issues.apache.org/jira/browse/LANG-332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Henri Yandell updated LANG-332:
-------------------------------

    Fix Version/s:     (was: 3.0)
                   3.1

Moving to 3.1. I don't think there's any obvious backwards compatibility issue, and as there's
no code I've no urge to suggest we dig into this pre-3.0.

> EqualsBuilder to alternatively use method properties
> ----------------------------------------------------
>
>                 Key: LANG-332
>                 URL: https://issues.apache.org/jira/browse/LANG-332
>             Project: Commons Lang
>          Issue Type: Improvement
>          Components: lang.builder.*
>    Affects Versions: 2.3
>            Reporter: Paul Benedict
>             Fix For: 3.1
>
>
> 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.


Mime
View raw message