Skip to content

Commit

Permalink
* Fixed failing contains() in Try.Failure
Browse files Browse the repository at this point in the history
  • Loading branch information
xyzsd committed Dec 12, 2023
1 parent a0b75e1 commit 17ab8ec
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/java/net/xyzsd/dichotomy/trying/Try.java
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,6 @@ public boolean ifPredicate(@NotNull Predicate<T> okPredicate) {

@Override
public boolean contains(@Nullable T okValue) {
requireNonNull( okValue );
return false;
}

Expand Down

0 comments on commit 17ab8ec

Please sign in to comment.