!str #19137: Rename inlet and outlet to in and out on Flow/Source/SinkShape

This commit is contained in:
Endre Sándor Varga 2015-12-14 14:52:06 +01:00
parent 3d20915cf4
commit b478d70964
44 changed files with 272 additions and 247 deletions

View file

@ -31,7 +31,7 @@ private[akka] abstract class SourceModule[+Out, +Mat](val shape: SourceShape[Out
// This is okay since the only caller of this method is right below.
protected def newInstance(shape: SourceShape[Out] @uncheckedVariance): SourceModule[Out, Mat]
override def carbonCopy: Module = newInstance(SourceShape(shape.outlet.carbonCopy()))
override def carbonCopy: Module = newInstance(SourceShape(shape.out.carbonCopy()))
override def subModules: Set[Module] = Set.empty
@ -40,7 +40,7 @@ private[akka] abstract class SourceModule[+Out, +Mat](val shape: SourceShape[Out
val thatN = attr.nameOrDefault(null)
if ((thatN eq null) || thisN == thatN) shape
else shape.copy(outlet = Outlet(thatN + ".out"))
else shape.copy(out = Outlet(thatN + ".out"))
}
}