some more doc fixes
This commit is contained in:
parent
c01de935c8
commit
38539372b5
6 changed files with 34 additions and 12 deletions
|
|
@ -48,6 +48,10 @@ object ActorPublisherDocSpec {
|
|||
|
||||
@tailrec final def deliverBuf(): Unit =
|
||||
if (totalDemand > 0) {
|
||||
/*
|
||||
* totalDemand is a Long and could be larger than
|
||||
* what buf.splitAt can accept
|
||||
*/
|
||||
if (totalDemand <= Int.MaxValue) {
|
||||
val (use, keep) = buf.splitAt(totalDemand.toInt)
|
||||
buf = keep
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue