Skip to content

Commit 45d9f2e

Browse files
committed
Removing methods/types deprecated in past release
1 parent 9225591 commit 45d9f2e

File tree

2 files changed

+0
-62
lines changed

2 files changed

+0
-62
lines changed

src/main/java/com/jnape/palatable/lambda/adt/Either.java

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -127,24 +127,6 @@ public <R2> Either<L, R2> flatMap(Function<? super R, ? extends Monad<R2, Either
127127
return match(Either::left, rightFn.andThen(Applicative::coerce));
128128
}
129129

130-
/**
131-
* If a right value, apply <code>rightFn</code> to the unwrapped right value and return the resulting
132-
* <code>Either</code>; otherwise, apply the unwrapped left value to leftFn and return the resulting
133-
* <code>Either</code>.
134-
*
135-
* @param leftFn the function to apply if a left value
136-
* @param rightFn the function to apply if a right value
137-
* @param <L2> the new left parameter type
138-
* @param <R2> the new right parameter type
139-
* @return the result of either rightFn or leftFn, depending on whether this is a right or a left
140-
* @deprecated in favor of {@link Either#match(Function, Function)}
141-
*/
142-
@Deprecated
143-
public final <L2, R2> Either<L2, R2> flatMap(Function<? super L, ? extends Either<L2, R2>> leftFn,
144-
Function<? super R, ? extends Either<L2, R2>> rightFn) {
145-
return match(leftFn, rightFn);
146-
}
147-
148130
@Override
149131
public final Either<R, L> invert() {
150132
return match(Either::right, Either::left);

src/main/java/com/jnape/palatable/lambda/semigroup/builtin/AddAll.java

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)