You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by GitBox <gi...@apache.org> on 2020/04/20 20:55:09 UTC

[GitHub] [commons-lang] arend-von-reinersdorff commented on a change in pull request #518: (doc) Fix throwable is returned, not index

arend-von-reinersdorff commented on a change in pull request #518:
URL: https://github.com/apache/commons-lang/pull/518#discussion_r411685595



##########
File path: src/main/java/org/apache/commons/lang3/exception/ExceptionUtils.java
##########
@@ -810,7 +810,7 @@ public static void removeCommonFrames(final List<String> causeFrames, final List
      * @param <T> the type of Throwable you are searching.
      * @param throwable  the throwable to inspect, may be null
      * @param clazz  the class to search for, subclasses do not match, null returns null
-     * @return the index into the throwable chain, null if no match or null input
+     * @return the first matching throwable form the throwable chain, null if no match or null input

Review comment:
       Hi @kinow,
   fixed the typo. Thanks for spotting it :-)




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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org