felhag commented on pull request #782:
URL: https://github.com/apache/commons-lang/pull/782#issuecomment-990016575
I see, but I think it doesn't fully replace functionality for
`ObjectUtils.equalsAny`. In my opinion building an inline array creates a lot
of clutter, for example:
`ArrayUtils.containsAny(new String[] {"foo", "bar"},
someObject.getSomeGetter());`
vs
`ObjectUtils.equalsAny(someObject.getSomeGetter(), "foo", "bar");`
In that case I think I would prefer something like `Arrays.asList("foo",
"bar").contains(someObject.getSomeGetter())`.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]