From dec5675c224f9064420793335ee25abd03876f81 Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Fri, 26 Aug 2022 14:33:34 -0400 Subject: [PATCH] Remove obsolete comment --- .../org/apache/commons/lang3/exception/ExceptionUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/apache/commons/lang3/exception/ExceptionUtils.java b/src/main/java/org/apache/commons/lang3/exception/ExceptionUtils.java index 46c0e2d7f..218fab913 100644 --- a/src/main/java/org/apache/commons/lang3/exception/ExceptionUtils.java +++ b/src/main/java/org/apache/commons/lang3/exception/ExceptionUtils.java @@ -156,14 +156,14 @@ public class ExceptionUtils { Method method = null; try { method = throwable.getClass().getMethod(methodName); - } catch (final NoSuchMethodException | SecurityException ignored) { // NOPMD + } catch (final NoSuchMethodException | SecurityException ignored) { // exception ignored } if (method != null && Throwable.class.isAssignableFrom(method.getReturnType())) { try { return (Throwable) method.invoke(throwable); - } catch (final IllegalAccessException | IllegalArgumentException | InvocationTargetException ignored) { // NOPMD + } catch (final IllegalAccessException | IllegalArgumentException | InvocationTargetException ignored) { // exception ignored } }