Made bytestrings private in ByteString.ByteStrings
This commit is contained in:
parent
60c7a57ddf
commit
d59fbbf8e4
1 changed files with 1 additions and 1 deletions
|
|
@ -195,7 +195,7 @@ object ByteString {
|
|||
/**
|
||||
* A ByteString with 2 or more fragments.
|
||||
*/
|
||||
final class ByteStrings private (val bytestrings: Vector[ByteString1], val length: Int) extends ByteString {
|
||||
final class ByteStrings private (private[akka] val bytestrings: Vector[ByteString1], val length: Int) extends ByteString {
|
||||
if (bytestrings.isEmpty) throw new IllegalArgumentException("bytestrings must not be empty")
|
||||
|
||||
def apply(idx: Int): Byte =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue