Made things that don't need to be public private in ByteString / -Iterator

This commit is contained in:
Oliver Schulz 2012-05-31 00:39:15 +02:00
parent a0ea833d54
commit b285b0821f
2 changed files with 3 additions and 3 deletions

View file

@ -77,7 +77,7 @@ object ByteString {
override def iterator: ByteIterator.ByteArrayIterator = ByteIterator.ByteArrayIterator(bytes, 0, bytes.length)
def toByteString1: ByteString1 = ByteString1(bytes)
private[akka] def toByteString1: ByteString1 = ByteString1(bytes)
override def clone: ByteString1C = new ByteString1C(toArray)