eliminate extraneous takeWhile method
This commit is contained in:
parent
a14347e18d
commit
e12a492679
2 changed files with 3 additions and 1 deletions
|
|
@ -0,0 +1,2 @@
|
|||
# #25175 eliminate extraneous takeWhile$default$2 method in Java DSL
|
||||
ProblemFilters.exclude[DirectMissingMethodProblem]("akka.stream.javadsl.Flow.takeWhile$default$2")
|
||||
|
|
@ -1256,7 +1256,7 @@ final class Flow[In, Out, Mat](delegate: scaladsl.Flow[In, Out, Mat]) extends Gr
|
|||
*
|
||||
* See also [[Flow.limit]], [[Flow.limitWeighted]]
|
||||
*/
|
||||
def takeWhile(p: function.Predicate[Out], inclusive: Boolean = false): javadsl.Flow[In, Out, Mat] = new Flow(delegate.takeWhile(p.test, inclusive))
|
||||
def takeWhile(p: function.Predicate[Out], inclusive: Boolean): javadsl.Flow[In, Out, Mat] = new Flow(delegate.takeWhile(p.test, inclusive))
|
||||
|
||||
/**
|
||||
* Terminate processing (and cancel the upstream publisher) after predicate
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue