Partial revert of #29268 to preserve source compatibility (#29341)

This commit is contained in:
Christopher Batey 2020-07-02 08:58:05 +01:00 committed by GitHub
parent 101c1d9b65
commit 663ccbae2d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -142,7 +142,7 @@ object ByteString {
*/
def fromByteBuffer(buffer: ByteBuffer): ByteString = apply(buffer)
def empty: ByteString = ByteString1C.empty
val empty: ByteString = ByteString1C.empty
/** Java API */
def emptyByteString: ByteString = empty
@ -1024,7 +1024,7 @@ object CompactByteString {
}
}
def empty: CompactByteString = ByteString.ByteString1C.empty
val empty: CompactByteString = ByteString.ByteString1C.empty
}
/**