You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2020/06/18 11:18:03 UTC

[commons-lang] 05/06: Correct code example in javadoc header

This is an automated email from the ASF dual-hosted git repository.

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git

commit 3302d5040bece8f2bf2e236bd99c5bbc160b1d93
Author: aherbert <ah...@apache.org>
AuthorDate: Thu Jun 18 12:10:20 2020 +0100

    Correct code example in javadoc header
---
 src/main/java/org/apache/commons/lang3/function/Failable.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/lang3/function/Failable.java b/src/main/java/org/apache/commons/lang3/function/Failable.java
index 9ecc283..1017146 100644
--- a/src/main/java/org/apache/commons/lang3/function/Failable.java
+++ b/src/main/java/org/apache/commons/lang3/function/Failable.java
@@ -46,7 +46,7 @@ import org.apache.commons.lang3.stream.Streams.FailableStream;
  *         try {
  *             m.invoke(o, args);
  *         } catch (Throwable t) {
- *             throw Functions.rethrow(t);
+ *             throw Failable.rethrow(t);
  *         }
  *     };
  * }</pre>