[GitHub] [commons-collections] arturobernalg commented on pull request #216: feature/COLLECTIONS-783 Checks if any value in the given Collections is null or empty.

2021-03-05 Thread GitBox
arturobernalg commented on pull request #216: URL: https://github.com/apache/commons-collections/pull/216#issuecomment-791883460 HI @kinow We can use `CollectionUtils.containsAny(collectionE, new Object[] { null, "" })` Close the PR TY

[GitHub] [commons-collections] arturobernalg commented on pull request #216: feature/COLLECTIONS-783 Checks if any value in the given Collections is null or empty.

2021-02-26 Thread GitBox
arturobernalg commented on pull request #216: URL: https://github.com/apache/commons-collections/pull/216#issuecomment-786891734 CollectionUtils.containsAny check bjects.requireNonNull and throw NPE. IMO this will break the binary. I keep checking `IterableUtils.matchesAny`

[GitHub] [commons-collections] arturobernalg commented on pull request #216: feature/COLLECTIONS-783 Checks if any value in the given Collections is null or empty.

2021-02-26 Thread GitBox
arturobernalg commented on pull request #216: URL: https://github.com/apache/commons-collections/pull/216#issuecomment-786860741 > Code looks OK. I think we just need to consider whether we want a new method for this, or if existing ways to use the code for this are better alternatives