From 52d4591487c1d2f349a7401e1e2f09b75798872e Mon Sep 17 00:00:00 2001 From: Gualtiero Testa Date: Sun, 29 Nov 2020 02:34:03 +0100 Subject: [PATCH] Wrong parameter name in Either.filterOrElse JavaDoc (#2618) Co-authored-by: Gualtiero Testa --- src/main/java/io/vavr/control/Either.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/vavr/control/Either.java b/src/main/java/io/vavr/control/Either.java index 98f90d85f3..130cd814e4 100644 --- a/src/main/java/io/vavr/control/Either.java +++ b/src/main/java/io/vavr/control/Either.java @@ -657,7 +657,7 @@ public final Option> filterNot(Predicate predicate) { * Filters this right-biased {@code Either} by testing a predicate. * If the {@code Either} is a {@code Right} and the predicate doesn't match, the * {@code Either} will be turned into a {@code Left} with contents computed by applying - * the filterVal function to the {@code Either} value. + * the zero function to the {@code Either} value. * *
{@code
      * // = Left("bad: a")