diff --git a/firebase-firestore/src/main/java/com/google/firebase/firestore/DocumentId.java b/firebase-firestore/src/main/java/com/google/firebase/firestore/DocumentId.java index a6cc384c2f7..dee32fba801 100644 --- a/firebase-firestore/src/main/java/com/google/firebase/firestore/DocumentId.java +++ b/firebase-firestore/src/main/java/com/google/firebase/firestore/DocumentId.java @@ -22,7 +22,7 @@ /** * Annotation used to mark a POJO property to be automatically populated with the document's ID when * the POJO is created from a Cloud Firestore document (for example, via {@link - * DocumentSnapshot#toObject}). + * DocumentSnapshot#toObject(Class)}). * * * - *

When using a POJO to write to a document (via {@link DocumentReference#set} or @{@link - * WriteBatch#set}), the property annotated by {@code @DocumentId} is ignored, which allows writing - * the POJO back to any document, even if it's not the origin of the POJO. + *

When using a POJO to write to a document (via {@link DocumentReference#set(Object)} or @{@link + * WriteBatch#set(DocumentReference, Object)}), the property annotated by {@code @DocumentId} is + * ignored, which allows writing the POJO back to any document, even if it's not the origin of the + * POJO. */ @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.FIELD, ElementType.METHOD}) diff --git a/firebase-firestore/src/main/java/com/google/firebase/firestore/SetOptions.java b/firebase-firestore/src/main/java/com/google/firebase/firestore/SetOptions.java index d3f70ed9aba..92023dd49d3 100644 --- a/firebase-firestore/src/main/java/com/google/firebase/firestore/SetOptions.java +++ b/firebase-firestore/src/main/java/com/google/firebase/firestore/SetOptions.java @@ -26,10 +26,10 @@ /** * An options object that configures the behavior of {@code set()} calls. By providing one of the - * SetOptions objects returned by {@link #merge}, {@link #mergeFields} and {@link #mergeFieldPaths}, - * the {@code set()} calls in {@link DocumentReference}, {@link WriteBatch} and {@link Transaction} - * can be configured to perform granular merges instead of overwriting the target documents in their - * entirety. + * SetOptions objects returned by {@link #merge()}, {@link #mergeFields(List)} and {@link + * #mergeFieldPaths(List)}, the {@code set()} calls in {@link DocumentReference}, {@link WriteBatch} + * and {@link Transaction} can be configured to perform granular merges instead of overwriting the + * target documents in their entirety. */ public final class SetOptions {