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] Commented: (LANG-476) create a subclass or variation of EqualsBuilder that considers null and empty string to be the same
Date Sat, 28 Feb 2009 20:54:12 GMT

    [ https://issues.apache.org/jira/browse/LANG-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12677721#action_12677721
] 

Henri Yandell commented on LANG-476:
------------------------------------

I'm interested in seeing your subclass. Not sure if it fits Lang, but that would help with
the discussion.

> create a subclass or variation of EqualsBuilder that considers null and empty string
to be the same
> ---------------------------------------------------------------------------------------------------
>
>                 Key: LANG-476
>                 URL: https://issues.apache.org/jira/browse/LANG-476
>             Project: Commons Lang
>          Issue Type: New Feature
>    Affects Versions: 2.4
>            Reporter: Michael Qiu
>            Priority: Minor
>
> Hey Guys
> In my equals method I would like the EqualsBuilder to consider the null string and empty
string to be the same.  Currently, I've created my own subclass of EqualsBuilder that does
this.  Could this behaviour be added into apache commons lang please.  This could be achieved
through either a subclass or a variation in behaviour determined by a boolean argument in
the constructor. 
> Thanks
> Michael Qiu

-- 
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