Commit 0e3f1f4a authored by Adam Cozzette's avatar Adam Cozzette

Fixed Javadoc errors

parent 74f667dd
...@@ -272,7 +272,7 @@ public abstract class ByteString implements Iterable<Byte>, Serializable { ...@@ -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). * 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 * <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 { ...@@ -640,7 +640,7 @@ public abstract class ByteString implements Iterable<Byte>, Serializable {
* @param targetOffset offset within the target buffer * @param targetOffset offset within the target buffer
* @param numberToCopy number of bytes to copy * @param numberToCopy number of bytes to copy
* @throws IndexOutOfBoundsException if an offset or size is negative or too large * @throws IndexOutOfBoundsException if an offset or size is negative or too large
* @deprecation Instead, call {@code byteString.substring(sourceOffset, sourceOffset + * @deprecated Instead, call {@code byteString.substring(sourceOffset, sourceOffset +
* numberToCopy).copyTo(target, targetOffset)} * numberToCopy).copyTo(target, targetOffset)}
*/ */
@Deprecated @Deprecated
......
...@@ -151,10 +151,13 @@ public interface Message extends MessageLite, MessageOrBuilder { ...@@ -151,10 +151,13 @@ public interface Message extends MessageLite, MessageOrBuilder {
/** /**
* Create a builder for messages of the appropriate type for the given field. The * 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 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 * builder can then be passed to the {@link #setField(Descriptors.FieldDescriptor, Object)},
* #addRepeatedField()} method of the current builder. * {@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); Builder newBuilderForField(Descriptors.FieldDescriptor field);
......
...@@ -194,7 +194,7 @@ public final class Durations { ...@@ -194,7 +194,7 @@ public final class Durations {
/** /**
* Builds the given builder and throws an {@link IllegalArgumentException} if it is not valid. See * 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}. * @return A valid, built {@link Duration}.
*/ */
......
...@@ -180,7 +180,7 @@ public final class Timestamps { ...@@ -180,7 +180,7 @@ public final class Timestamps {
/** /**
* Builds the given builder and throws an {@link IllegalArgumentException} if it is not valid. See * 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}. * @return A valid, built {@link Timestamp}.
*/ */
......
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