[ 
https://issues.apache.org/jira/browse/LANG-1666?focusedWorklogId=632620&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-632620
 ]

ASF GitHub Bot logged work on LANG-1666:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 02/Aug/21 21:35
            Start Date: 02/Aug/21 21:35
    Worklog Time Spent: 10m 
      Work Description: coveralls commented on pull request #782:
URL: https://github.com/apache/commons-lang/pull/782#issuecomment-891350615


   
   [![Coverage 
Status](https://coveralls.io/builds/41845052/badge)](https://coveralls.io/builds/41845052)
   
   Coverage increased (+0.002%) to 94.997% when pulling 
**ba9f48cf41b0694d156dc586815b1c49c824f272 on felhag:LANG-1666-equals-any** 
into **7c658527094083b2037d362916adf8eb2493ea65 on apache:master**.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 632620)
    Time Spent: 20m  (was: 10m)

> Add ObjectUtils.equalsAny
> -------------------------
>
>                 Key: LANG-1666
>                 URL: https://issues.apache.org/jira/browse/LANG-1666
>             Project: Commons Lang
>          Issue Type: New Feature
>            Reporter: Felix Hagemans
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> I think an {{equalsAny}} utility method would be a nice simple addition to 
> the ObjectUtils class. For example: 
> {code:java}if (valueA.equals(someObject.getSomeGetter()) || 
> valueB.equals(someObject.getSomeGetter()) { ... }{code}
> could be written a lot cleaner: 
> {code:java}if (ObjectUtils.equalsAny(someObject.getSomeGetter(), valueA, 
> valueB) { ... }{code}
> It would work similar to the already existing StringUtils.equalsAny method. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to