= - Minor cleanups, will get an appropriate commit message soon
This commit is contained in:
parent
e1afb62cab
commit
365e6243b3
9 changed files with 60 additions and 46 deletions
|
|
@ -11,8 +11,8 @@ import akka.stream.impl.StreamLayout.Module
|
|||
*/
|
||||
private[stream] trait FlowModule[In, Out, Mat] extends StreamLayout.Module {
|
||||
override def replaceShape(s: Shape) =
|
||||
if (s == shape) this
|
||||
else throw new UnsupportedOperationException("cannot replace the shape of a FlowModule")
|
||||
if (s != shape) throw new UnsupportedOperationException("cannot replace the shape of a FlowModule")
|
||||
else this
|
||||
|
||||
val inPort = Inlet[In]("Flow.in")
|
||||
val outPort = Outlet[Out]("Flow.out")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue