Skip to content

Commit fca527d

Browse files
authored
Fix doc format for multi-db (#5139)
1 parent e67be1e commit fca527d

File tree

1 file changed

+16
-13
lines changed

1 file changed

+16
-13
lines changed

firebase-firestore/src/main/java/com/google/firebase/firestore/FirebaseFirestore.java

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,10 @@ private static FirebaseApp getDefaultFirebaseApp() {
114114
}
115115

116116
/**
117-
* Returns the default {@link FirebaseFirestore} instance associated with the default {@link
118-
* FirebaseApp}. Returns the same instance for all invocations. If no instance exists, initializes
119-
* a new instance with default settings.
117+
* Returns the default {@link FirebaseFirestore} instance for the default {@link FirebaseApp}.
118+
*
119+
* <p>Returns the same instance for all invocations. If no instance exists, initializes a new
120+
* instance with default settings.
120121
*
121122
* @returns The {@link FirebaseFirestore} instance.
122123
*/
@@ -126,9 +127,10 @@ public static FirebaseFirestore getInstance() {
126127
}
127128

128129
/**
129-
* Returns the default {@link FirebaseFirestore} instance that is associated with the provided
130-
* {@link FirebaseApp}. For a given {@link FirebaseApp}, invocation always returns the same
131-
* instance. If no instance exists, initializes a new instance with default settings.
130+
* Returns the default {@link FirebaseFirestore} instance for the provided {@link FirebaseApp}.
131+
*
132+
* <p>For a given {@link FirebaseApp}, invocation always returns the same instance. If no instance
133+
* exists, initializes a new instance with default settings.
132134
*
133135
* @param app - The {@link FirebaseApp} instance that the returned {@link FirebaseFirestore}
134136
* instance is associated with.
@@ -140,9 +142,10 @@ public static FirebaseFirestore getInstance(@NonNull FirebaseApp app) {
140142
}
141143

142144
/**
143-
* Returns the {@link FirebaseFirestore} instance that is associated with the default {@link
144-
* FirebaseApp}. Returns the same instance for all invocations given the same database parameter.
145-
* If no instance exists, initializes a new instance with default settings.
145+
* Returns the {@link FirebaseFirestore} instance for the default {@link FirebaseApp}.
146+
*
147+
* <p>Returns the same instance for all invocations given the same database parameter. If no
148+
* instance exists, initializes a new instance with default settings.
146149
*
147150
* @param database - The name of database.
148151
* @returns The {@link FirebaseFirestore} instance.
@@ -153,10 +156,10 @@ public static FirebaseFirestore getInstance(@NonNull String database) {
153156
}
154157

155158
/**
156-
* Returns the {@link FirebaseFirestore} instance that is associated with the provided {@link
157-
* FirebaseApp}. Returns the same instance for all invocations given the same {@link FirebaseApp}
158-
* and database parameter. If no instance exists, initializes a new instance with default
159-
* settings.
159+
* Returns the {@link FirebaseFirestore} instance for the provided {@link FirebaseApp}.
160+
*
161+
* <p>Returns the same instance for all invocations given the same {@link FirebaseApp} and
162+
* database parameter. If no instance exists, initializes a new instance with default settings.
160163
*
161164
* @param app - The {@link FirebaseApp} instance that the returned {@link FirebaseFirestore}
162165
* instance is associated with.

0 commit comments

Comments
 (0)