Commit c44ca26f authored by Feng Xiao's avatar Feng Xiao Committed by GitHub

Merge pull request #2130 from kilink/substring-comment-fix

Fix erroneous comment regarding String.substring
parents 3b001ca6 9ac84f8f
......@@ -52,9 +52,9 @@ import java.util.NoSuchElementException;
/**
* Immutable sequence of bytes. Substring is supported by sharing the reference
* to the immutable underlying bytes, as with {@link String}. Concatenation is
* likewise supported without copying (long strings) by building a tree of
* pieces in {@link RopeByteString}.
* to the immutable underlying bytes. Concatenation is likewise supported
* without copying (long strings) by building a tree of pieces in
* {@link RopeByteString}.
* <p>
* Like {@link String}, the contents of a {@link ByteString} can never be
* observed to change, not even in the presence of a data race or incorrect
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment