Remove catchall silents from prod code (#27432)

* WIP

* Remove catch all silent annocations from prod code
This commit is contained in:
Christopher Batey 2019-07-30 10:12:23 +01:00 committed by Arnout Engelen
parent e898197bdd
commit 89e269d5d8
110 changed files with 255 additions and 258 deletions

View file

@ -665,7 +665,7 @@ class SubSource[Out, Mat](
* `n` must be positive, and `d` must be greater than 0 seconds, otherwise
* IllegalArgumentException is thrown.
*/
@silent
@silent("deprecated")
def groupedWithin(n: Int, d: java.time.Duration): SubSource[java.util.List[Out @uncheckedVariance], Mat] =
groupedWithin(n, d.asScala)
@ -713,7 +713,7 @@ class SubSource[Out, Mat](
* `maxWeight` must be positive, and `d` must be greater than 0 seconds, otherwise
* IllegalArgumentException is thrown.
*/
@silent
@silent("deprecated")
def groupedWeightedWithin(
maxWeight: Long,
costFn: function.Function[Out, java.lang.Long],
@ -762,7 +762,7 @@ class SubSource[Out, Mat](
*
* '''Cancels when''' downstream cancels
*/
@silent
@silent("deprecated")
def dropWithin(d: java.time.Duration): SubSource[Out, Mat] =
dropWithin(d.asScala)
@ -879,7 +879,7 @@ class SubSource[Out, Mat](
* @param of time to shift all messages
* @param strategy Strategy that is used when incoming elements cannot fit inside the buffer
*/
@silent
@silent("deprecated")
def delay(of: java.time.Duration, strategy: DelayOverflowStrategy): SubSource[Out, Mat] =
delay(of.asScala, strategy)
@ -1029,7 +1029,7 @@ class SubSource[Out, Mat](
*
* '''Cancels when''' downstream cancels or timer fires
*/
@silent
@silent("deprecated")
def takeWithin(d: java.time.Duration): SubSource[Out, Mat] =
takeWithin(d.asScala)
@ -1678,7 +1678,7 @@ class SubSource[Out, Mat](
*
* '''Cancels when''' downstream cancels
*/
@silent
@silent("deprecated")
def initialTimeout(timeout: java.time.Duration): SubSource[Out, Mat] =
initialTimeout(timeout.asScala)
@ -1711,7 +1711,7 @@ class SubSource[Out, Mat](
*
* '''Cancels when''' downstream cancels
*/
@silent
@silent("deprecated")
def completionTimeout(timeout: java.time.Duration): SubSource[Out, Mat] =
completionTimeout(timeout.asScala)
@ -1746,7 +1746,7 @@ class SubSource[Out, Mat](
*
* '''Cancels when''' downstream cancels
*/
@silent
@silent("deprecated")
def idleTimeout(timeout: java.time.Duration): SubSource[Out, Mat] =
idleTimeout(timeout.asScala)
@ -1781,7 +1781,7 @@ class SubSource[Out, Mat](
*
* '''Cancels when''' downstream cancels
*/
@silent
@silent("deprecated")
def backpressureTimeout(timeout: java.time.Duration): SubSource[Out, Mat] =
backpressureTimeout(timeout.asScala)
@ -1824,7 +1824,7 @@ class SubSource[Out, Mat](
*
* '''Cancels when''' downstream cancels
*/
@silent
@silent("deprecated")
def keepAlive(maxIdle: java.time.Duration, injectedElem: function.Creator[Out]): SubSource[Out, Mat] =
keepAlive(maxIdle.asScala, injectedElem)
@ -2188,7 +2188,7 @@ class SubSource[Out, Mat](
*
* '''Cancels when''' downstream cancels
*/
@silent
@silent("deprecated")
def initialDelay(delay: java.time.Duration): SubSource[Out, Mat] =
initialDelay(delay.asScala)