diff options
author | Feng Xiao <xiaofeng@google.com> | 2016-09-16 17:07:57 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-16 17:07:57 -0700 |
commit | c44ca26fe89ed8a81d3ee475a2ccc1797141dbce (patch) | |
tree | d3514a7d8b41408b25bd8936f431a19a4b6161dd | |
parent | 3b001ca6ba6fb51f5e55b1596fb3ce09ee9981e8 (diff) | |
parent | 9ac84f8f3fea9797953a8c738b7fae652d968637 (diff) | |
download | protobuf-c44ca26fe89ed8a81d3ee475a2ccc1797141dbce.tar.gz protobuf-c44ca26fe89ed8a81d3ee475a2ccc1797141dbce.tar.bz2 protobuf-c44ca26fe89ed8a81d3ee475a2ccc1797141dbce.zip |
Merge pull request #2130 from kilink/substring-comment-fix
Fix erroneous comment regarding String.substring
-rw-r--r-- | java/core/src/main/java/com/google/protobuf/ByteString.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/java/core/src/main/java/com/google/protobuf/ByteString.java b/java/core/src/main/java/com/google/protobuf/ByteString.java index 49653899..3f3f9f3c 100644 --- a/java/core/src/main/java/com/google/protobuf/ByteString.java +++ b/java/core/src/main/java/com/google/protobuf/ByteString.java @@ -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 |