Skip to content

Commit 84953a2

Browse files
authored
Merge pull request #380 from functionaljava/gliptak-patch-1
Correct Either.iif Javadoc
2 parents cbd67f6 + c718d06 commit 84953a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/main/java/fj/data/Either.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -898,7 +898,7 @@ public static <A> A reduce(final Either<A, A> e) {
898898
}
899899

900900
/**
901-
* If the condition satisfies, return the given A in left, otherwise, return the given B in right.
901+
* If the condition satisfies, return the given B in right, otherwise, return the given A in left.
902902
*
903903
* @param c The condition to test.
904904
* @param right The right value to use if the condition satisfies.

0 commit comments

Comments
 (0)