Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
c44ca26f
Commit
c44ca26f
authored
Sep 17, 2016
by
Feng Xiao
Committed by
GitHub
Sep 17, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2130 from kilink/substring-comment-fix
Fix erroneous comment regarding String.substring
parents
3b001ca6
9ac84f8f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ByteString.java
java/core/src/main/java/com/google/protobuf/ByteString.java
+3
-3
No files found.
java/core/src/main/java/com/google/protobuf/ByteString.java
View file @
c44ca26f
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment