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
0e3f1f4a
Commit
0e3f1f4a
authored
Jan 30, 2019
by
Adam Cozzette
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed Javadoc errors
parent
74f667dd
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
7 deletions
+10
-7
ByteString.java
java/core/src/main/java/com/google/protobuf/ByteString.java
+2
-2
Message.java
java/core/src/main/java/com/google/protobuf/Message.java
+6
-3
Durations.java
...til/src/main/java/com/google/protobuf/util/Durations.java
+1
-1
Timestamps.java
...il/src/main/java/com/google/protobuf/util/Timestamps.java
+1
-1
No files found.
java/core/src/main/java/com/google/protobuf/ByteString.java
View file @
0e3f1f4a
...
...
@@ -272,7 +272,7 @@ public abstract class ByteString implements Iterable<Byte>, Serializable {
};
/**
* Returns a {@link Comparator
<ByteString>
} which compares {@link ByteString}-s lexicographically
* Returns a {@link Comparator} which compares {@link ByteString}-s lexicographically
* as sequences of unsigned bytes (i.e. values between 0 and 255, inclusive).
*
* <p>For example, {@code (byte) -1} is considered to be greater than {@code (byte) 1} because it
...
...
@@ -640,7 +640,7 @@ public abstract class ByteString implements Iterable<Byte>, Serializable {
* @param targetOffset offset within the target buffer
* @param numberToCopy number of bytes to copy
* @throws IndexOutOfBoundsException if an offset or size is negative or too large
* @deprecat
ion
Instead, call {@code byteString.substring(sourceOffset, sourceOffset +
* @deprecat
ed
Instead, call {@code byteString.substring(sourceOffset, sourceOffset +
* numberToCopy).copyTo(target, targetOffset)}
*/
@Deprecated
...
...
java/core/src/main/java/com/google/protobuf/Message.java
View file @
0e3f1f4a
...
...
@@ -151,10 +151,13 @@ public interface Message extends MessageLite, MessageOrBuilder {
/**
* Create a builder for messages of the appropriate type for the given field. The
* builder is NOT nested in the current builder. However, messages built with the
* builder can then be passed to the {@link #setField()}, {@link #setRepeatedField()}, or {@link
* #addRepeatedField()} method of the current builder.
* builder can then be passed to the {@link #setField(Descriptors.FieldDescriptor, Object)},
* {@link #setRepeatedField(Descriptors.FieldDescriptor, int, Object)}, or
* {@link #addRepeatedField(Descriptors.FieldDescriptor, Object)}
* method of the current builder.
*
* <p>To obtain a builder nested in the current builder, use {@link #getFieldBuilder()} instead.
* <p>To obtain a builder nested in the current builder, use
* {@link #getFieldBuilder(Descriptors.FieldDescriptor)} instead.
*/
Builder
newBuilderForField
(
Descriptors
.
FieldDescriptor
field
);
...
...
java/util/src/main/java/com/google/protobuf/util/Durations.java
View file @
0e3f1f4a
...
...
@@ -194,7 +194,7 @@ public final class Durations {
/**
* Builds the given builder and throws an {@link IllegalArgumentException} if it is not valid. See
* {@link #checkValid(Duration
})
.
* {@link #checkValid(Duration
)}
.
*
* @return A valid, built {@link Duration}.
*/
...
...
java/util/src/main/java/com/google/protobuf/util/Timestamps.java
View file @
0e3f1f4a
...
...
@@ -180,7 +180,7 @@ public final class Timestamps {
/**
* Builds the given builder and throws an {@link IllegalArgumentException} if it is not valid. See
* {@link #checkValid(Timestamp
})
.
* {@link #checkValid(Timestamp
)}
.
*
* @return A valid, built {@link Timestamp}.
*/
...
...
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