squash some warnings
This commit is contained in:
parent
3140e72265
commit
e5baba2b29
42 changed files with 146 additions and 161 deletions
|
|
@ -368,8 +368,8 @@ trait GraphInterpreterSpecKit extends AkkaSpec {
|
|||
events
|
||||
}
|
||||
|
||||
class UpstreamOneBoundedProbe[T] extends UpstreamBoundaryStageLogic[T] {
|
||||
val out = Outlet[T]("out")
|
||||
class UpstreamOneBoundedProbe[TT] extends UpstreamBoundaryStageLogic[TT] {
|
||||
val out = Outlet[TT]("out")
|
||||
out.id = 0
|
||||
|
||||
setHandler(out, new OutHandler {
|
||||
|
|
@ -381,7 +381,7 @@ trait GraphInterpreterSpecKit extends AkkaSpec {
|
|||
override def onDownstreamFinish(): Unit = lastEvent += Cancel
|
||||
})
|
||||
|
||||
def onNext(elem: T): Unit = {
|
||||
def onNext(elem: TT): Unit = {
|
||||
push(out, elem)
|
||||
run()
|
||||
}
|
||||
|
|
@ -390,7 +390,7 @@ trait GraphInterpreterSpecKit extends AkkaSpec {
|
|||
run()
|
||||
}
|
||||
|
||||
def onNextAndComplete(elem: T): Unit = {
|
||||
def onNextAndComplete(elem: TT): Unit = {
|
||||
push(out, elem)
|
||||
complete(out)
|
||||
run()
|
||||
|
|
@ -402,8 +402,8 @@ trait GraphInterpreterSpecKit extends AkkaSpec {
|
|||
}
|
||||
}
|
||||
|
||||
class DownstreamOneBoundedPortProbe[T] extends DownstreamBoundaryStageLogic[T] {
|
||||
val in = Inlet[T]("in")
|
||||
class DownstreamOneBoundedPortProbe[TT] extends DownstreamBoundaryStageLogic[TT] {
|
||||
val in = Inlet[TT]("in")
|
||||
in.id = 0
|
||||
|
||||
setHandler(in, new InHandler {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue