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

Duncan Jones closed LANG-1054.
------------------------------
    Resolution: Won't Fix

> Support java.util.regex.Pattern in EqualsBuilder and HashCodeBuilder
> --------------------------------------------------------------------
>
>                 Key: LANG-1054
>                 URL: https://issues.apache.org/jira/browse/LANG-1054
>             Project: Commons Lang
>          Issue Type: Wish
>          Components: lang.builder.*
>            Reporter: Markus Malkusch
>            Priority: Minor
>
> Hi
> Pattern is an annoyance because it doesn't implement equals() nor hashCode(). 
> I.e. EqualsBuilder.append(Object, Object) will never set 
> EqualsBuilder.isEquals to true for e.g.:
> {code}
> builder.append(Pattern.compile("foo"), Pattern.compile("foo"));
> {code}
> It would be nice to have an EqualsBuilder which compares Pattern.pattern and 
> Pattern.flags instead of calling Pattern.equals().
> Same for HashCodeBuilder.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to