garydgregory commented on PR #1278: URL: https://github.com/apache/commons-lang/pull/1278#issuecomment-2454874157
Hello @mfg92 How about using the existing API, like this (from `ArrayUtilsTest`): ```java @Test public void testContainsAnyEnum() { assertTrue(ArrayUtils.containsAny(ElementType.values(), ElementType.ANNOTATION_TYPE)); assertFalse(ArrayUtils.containsAny(ElementType.values(), (ElementType) null)); } ``` ? -- 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