Better javadoc

This commit is contained in:
Emmanuel Cron 2015-10-06 16:57:13 -07:00
parent 21d7f0681e
commit b395da26b7
2 changed files with 9 additions and 9 deletions

View File

@ -56,7 +56,8 @@ import java.util.Set;
* You can specify which case representation is used for the proto fields when writing/reading the
* JSON payload by calling {@link Builder#setFieldNameSerializationFormat(CaseFormat, CaseFormat)}.
* <p>
* An example of default serialization/deserialization using custom proto field names is show below:
* An example of default serialization/deserialization using custom proto field names is shown
* below:
*
* <pre>
* message MyMessage {
@ -138,8 +139,7 @@ public class ProtoTypeAdapter
* </pre>
*
* ...the adapter will serialize the field using '{@code appId}' instead of the default '
* {@code clientAppId}'. This lets you customize the name serialization of any field of your
* proto.
* {@code clientAppId}'. This lets you customize the name serialization of any proto field.
*/
public Builder addSerializedNameExtension(
Extension<FieldOptions, String> serializedNameExtension) {
@ -148,8 +148,8 @@ public class ProtoTypeAdapter
}
/**
* Adds an enum proto annotation that, when set, overrides the default <b>enum</b> value
* serialization/deerialization of this adapter. For example, if you add the '
* Adds an enum value proto annotation that, when set, overrides the default <b>enum</b> value
* serialization/deserialization of this adapter. For example, if you add the '
* {@code serialized_value}' annotation and you define an enum in your proto like the one below:
*
* <pre>