aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/apache/commons/lang3/function
diff options
context:
space:
mode:
authorMarc Wrobel <marc.wrobel@gmail.com>2022-07-15 14:25:29 +0200
committerGitHub <noreply@github.com>2022-07-15 08:25:29 -0400
commitd7889a8ffea465a223dad8410f5d36e48641aa69 (patch)
treed0f86fa8cffbaaaa4538c2991e4442b9a5e3107a /src/main/java/org/apache/commons/lang3/function
parent3ac6beab459a7ba1757c35847a2f38d074d2d6a5 (diff)
downloadapache-commons-lang-d7889a8ffea465a223dad8410f5d36e48641aa69.tar.gz
(doc) Fix typos in javadoc and comments (#920)
Diffstat (limited to 'src/main/java/org/apache/commons/lang3/function')
-rw-r--r--src/main/java/org/apache/commons/lang3/function/Failable.java6
-rw-r--r--src/main/java/org/apache/commons/lang3/function/FailableFunction.java2
2 files changed, 4 insertions, 4 deletions
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 d94757a47..cdcfccce3 100644
--- a/src/main/java/org/apache/commons/lang3/function/Failable.java
+++ b/src/main/java/org/apache/commons/lang3/function/Failable.java
@@ -403,7 +403,7 @@ public class Failable {
* follow the method call, like a {@code return} statement from a value returning method.
* </p>
*
- * @param throwable The throwable to rethrow ossibly wrapped into an unchecked exception
+ * @param throwable The throwable to rethrow possibly wrapped into an unchecked exception
* @return Never returns anything, this method never terminates normally.
*/
public static RuntimeException rethrow(final Throwable throwable) {
@@ -498,7 +498,7 @@ public class Failable {
* {@link AutoCloseable} interface. The method executes the {@code action}. The method guarantees, that <em>all</em>
* the {@code resources} are being executed, in the given order, afterwards, and regardless of success, or failure.
* If either the original action, or any of the resource action fails, then the <em>first</em> failure (AKA
- * {@link Throwable} is rethrown. Example use:
+ * {@link Throwable}) is rethrown. Example use:
*
* <pre>
* final FileInputStream fis = new FileInputStream("my.file");
@@ -558,7 +558,7 @@ public class Failable {
* {@link AutoCloseable} interface. The method executes the {@code action}. The method guarantees, that <em>all</em>
* the {@code resources} are being executed, in the given order, afterwards, and regardless of success, or failure.
* If either the original action, or any of the resource action fails, then the <em>first</em> failure (AKA
- * {@link Throwable} is rethrown. Example use:
+ * {@link Throwable}) is rethrown. Example use:
*
* <pre>
* final FileInputStream fis = new FileInputStream("my.file");
diff --git a/src/main/java/org/apache/commons/lang3/function/FailableFunction.java b/src/main/java/org/apache/commons/lang3/function/FailableFunction.java
index 5eb586acc..ef088c960 100644
--- a/src/main/java/org/apache/commons/lang3/function/FailableFunction.java
+++ b/src/main/java/org/apache/commons/lang3/function/FailableFunction.java
@@ -85,7 +85,7 @@ public interface FailableFunction<T, R, E extends Throwable> {
*
* @param <V> the input type to the {@code before} function, and to the composed function.
* @param before the operator to apply before this one.
- * @return a a composed {@link FailableFunction} like {@link Function#compose(Function)}.
+ * @return a composed {@link FailableFunction} like {@link Function#compose(Function)}.
* @throws NullPointerException if before is null.
* @see #andThen(FailableFunction)
*/