Fix Scaladoc for recoverWithRetries (#23762) (#23763)

This commit is contained in:
Richard Imaoka 2017-10-31 00:21:44 +09:00 committed by Arnout Engelen
parent 3bef488faf
commit c05a3e0e26
2 changed files with 0 additions and 2 deletions

View file

@ -1108,7 +1108,6 @@ final class Flow[-In, +Out, +Mat](delegate: scaladsl.Flow[In, Out, Mat]) extends
* *
* @param attempts Maximum number of retries or -1 to retry indefinitely * @param attempts Maximum number of retries or -1 to retry indefinitely
* @param pf Receives the failure cause and returns the new Source to be materialized if any * @param pf Receives the failure cause and returns the new Source to be materialized if any
* @throws IllegalArgumentException if `attempts` is a negative number other than -1
*/ */
def recoverWithRetries[T >: Out](attempts: Int, pf: PartialFunction[Throwable, _ <: Graph[SourceShape[T], NotUsed]]): javadsl.Flow[In, T, Mat @uncheckedVariance] = def recoverWithRetries[T >: Out](attempts: Int, pf: PartialFunction[Throwable, _ <: Graph[SourceShape[T], NotUsed]]): javadsl.Flow[In, T, Mat @uncheckedVariance] =
new Flow(delegate.recoverWithRetries(attempts, pf)) new Flow(delegate.recoverWithRetries(attempts, pf))

View file

@ -615,7 +615,6 @@ trait FlowOps[+Out, +Mat] {
* *
* @param attempts Maximum number of retries or -1 to retry indefinitely * @param attempts Maximum number of retries or -1 to retry indefinitely
* @param pf Receives the failure cause and returns the new Source to be materialized if any * @param pf Receives the failure cause and returns the new Source to be materialized if any
* @throws IllegalArgumentException if `attempts` is a negative number other than -1
* *
*/ */
def recoverWithRetries[T >: Out](attempts: Int, pf: PartialFunction[Throwable, Graph[SourceShape[T], NotUsed]]): Repr[T] = def recoverWithRetries[T >: Out](attempts: Int, pf: PartialFunction[Throwable, Graph[SourceShape[T], NotUsed]]): Repr[T] =