You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2022/08/26 19:09:03 UTC

[commons-lang] 03/10: Remove obsolete comment

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-lang.git

commit dec5675c224f9064420793335ee25abd03876f81
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Aug 26 14:33:34 2022 -0400

    Remove obsolete comment
---
 src/main/java/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
                 }
             }