Skip to content

Commit

Permalink
chore: Fix the @SInCE of Sink.none operator, should be 1.2.0 (#1632)
Browse files Browse the repository at this point in the history
  • Loading branch information
He-Pin authored Dec 28, 2024
1 parent aea4e83 commit 5334ea4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ object Sink {
*
* '''Cancels when''' predicate `p` returns `true`
*
* @since 1.1.3
* @since 1.2.0
*/
def none[In](p: function.Predicate[In]): javadsl.Sink[In, CompletionStage[java.lang.Boolean]] = {
import pekko.util.FutureConverters._
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ object Sink {
*
* '''Cancels when''' predicate `p` returns `true`
*
* @since 1.1.3
* @since 1.2.0
*/
def none[T](p: T => Boolean): Sink[T, Future[Boolean]] =
Flow[T].foldWhile(true)(util.ConstantFun.scalaIdentityFunction)(_ && !p(_))
Expand Down

0 comments on commit 5334ea4

Please sign in to comment.