Skip to content

Commit

Permalink
SLF4j-466: fixed typo in javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
delgurth committed Aug 12, 2019
1 parent 587ec03 commit a98bd22
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions slf4j-api/src/main/java/org/slf4j/helpers/Util.java
Expand Up @@ -129,11 +129,12 @@ static final public void report(String msg) {
}

/**
* Helper method to determine if an {@link Object} array contains an {@link Throwable} as last element
* Helper method to determine if an {@link Object} array contains a {@link Throwable} as last element
*
* @param argArray
* The arguments off which we want to know if it contains a {@link Throwable} as last element
* @return if the last parameter in argArray is a Throwable this method will return it, otherwise it returns null
* @return if the last {@link Object} in argArray is a {@link Throwable} this method will return it,
* otherwise it returns null
*/
public static Throwable getThrowableCandidate(final Object[] argArray) {
if (argArray == null || argArray.length == 0) {
Expand Down

0 comments on commit a98bd22

Please sign in to comment.