Skip to content

Commit

Permalink
Wrong parameter name in Either.filterOrElse JavaDoc (#2618)
Browse files Browse the repository at this point in the history
Co-authored-by: Gualtiero Testa <gualtiero.testa@pm.me>
  • Loading branch information
2 people authored and danieldietrich committed Jul 14, 2021
1 parent d8cf5bb commit cc79c13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vavr/src/main/java/io/vavr/control/Either.java
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ default Option<Either<L, R>> filter(Predicate<? super R> 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.
*
* <pre>{@code
* import static io.vavr.API.*;
Expand Down

0 comments on commit cc79c13

Please sign in to comment.