Skip to content

Fix doc format for multi-db #5139

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,10 @@ private static FirebaseApp getDefaultFirebaseApp() {
}

/**
* Returns the default {@link FirebaseFirestore} instance associated with the default {@link
* FirebaseApp}. Returns the same instance for all invocations. If no instance exists, initializes
* a new instance with default settings.
* Returns the default {@link FirebaseFirestore} instance for the default {@link FirebaseApp}.
*
* <p>Returns the same instance for all invocations. If no instance exists, initializes a new
* instance with default settings.
*
* @returns The {@link FirebaseFirestore} instance.
*/
Expand All @@ -126,9 +127,10 @@ public static FirebaseFirestore getInstance() {
}

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

/**
* Returns the {@link FirebaseFirestore} instance that is associated with the default {@link
* FirebaseApp}. Returns the same instance for all invocations given the same database parameter.
* If no instance exists, initializes a new instance with default settings.
* Returns the {@link FirebaseFirestore} instance for the default {@link FirebaseApp}.
*
* <p>Returns the same instance for all invocations given the same database parameter. If no
* instance exists, initializes a new instance with default settings.
*
* @param database - The name of database.
* @returns The {@link FirebaseFirestore} instance.
Expand All @@ -153,10 +156,10 @@ public static FirebaseFirestore getInstance(@NonNull String database) {
}

/**
* Returns the {@link FirebaseFirestore} instance that is associated with the provided {@link
* FirebaseApp}. Returns the same instance for all invocations given the same {@link FirebaseApp}
* and database parameter. If no instance exists, initializes a new instance with default
* settings.
* Returns the {@link FirebaseFirestore} instance for the provided {@link FirebaseApp}.
*
* <p>Returns the same instance for all invocations given the same {@link FirebaseApp} and
* database parameter. If no instance exists, initializes a new instance with default settings.
*
* @param app - The {@link FirebaseApp} instance that the returned {@link FirebaseFirestore}
* instance is associated with.
Expand Down