This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-collections.git
commit 17db5ba533474e2ca8e52d9ef9fe867cbaab06ae Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sun Nov 6 11:13:29 2022 -0500 Simplify ignorance of caught exception --- src/main/java/org/apache/commons/collections4/IteratorUtils.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/org/apache/commons/collections4/IteratorUtils.java b/src/main/java/org/apache/commons/collections4/IteratorUtils.java index 7e30f4240..625054b4f 100644 --- a/src/main/java/org/apache/commons/collections4/IteratorUtils.java +++ b/src/main/java/org/apache/commons/collections4/IteratorUtils.java @@ -1113,8 +1113,7 @@ public class IteratorUtils { return it; } } - } catch (final RuntimeException | NoSuchMethodException | IllegalAccessException | - InvocationTargetException e) { // NOPMD + } catch (final RuntimeException | ReflectiveOperationException ignore) { // NOPMD // ignore } return singletonIterator(obj);