Remove warnings from akka-stream-tests (#27114)

This commit is contained in:
Christopher Batey 2019-06-13 12:06:02 +01:00 committed by Patrik Nordwall
parent 03588c3036
commit 231f0d6bb1
122 changed files with 546 additions and 551 deletions

View file

@ -10,6 +10,7 @@ import akka.testkit.EventFilter
import akka.stream._
import akka.stream.impl.fusing.GraphStages.SimpleLinearGraphStage
import akka.util.ConstantFun
import com.github.ghik.silencer.silent
class InterpreterSpec extends StreamSpec with GraphInterpreterSpecKit {
@ -533,6 +534,7 @@ class InterpreterSpec extends StreamSpec with GraphInterpreterSpecKit {
}
@silent
private[akka] final case class Doubler[T]() extends SimpleLinearGraphStage[T] {
override def createLogic(inheritedAttributes: Attributes): GraphStageLogic =
@ -564,6 +566,7 @@ class InterpreterSpec extends StreamSpec with GraphInterpreterSpecKit {
}
@silent
private[akka] final case class KeepGoing[T]() extends SimpleLinearGraphStage[T] {
override def createLogic(inheritedAttributes: Attributes): GraphStageLogic =