diff --git a/src/main/java/com/google/firebase/auth/AbstractFirebaseAuth.java b/src/main/java/com/google/firebase/auth/AbstractFirebaseAuth.java
index 8fb20c557..98a7526cd 100644
--- a/src/main/java/com/google/firebase/auth/AbstractFirebaseAuth.java
+++ b/src/main/java/com/google/firebase/auth/AbstractFirebaseAuth.java
@@ -801,7 +801,7 @@ protected UserImportResult execute() throws FirebaseAuthException {
* not guaranteed to correspond to the nth entry in the input parameters list.
*
*
A maximum of 100 identifiers may be specified. If more than 100 identifiers are
- * supplied, this method throws an {@link IllegalArgumentException}.
+ * supplied, this method throws an {@code IllegalArgumentException}.
*
* @param identifiers The identifiers used to indicate which user records should be returned. Must
* have 100 or fewer entries.
@@ -823,7 +823,7 @@ public GetUsersResult getUsers(@NonNull Collection identifiers)
* not guaranteed to correspond to the nth entry in the input parameters list.
*
* A maximum of 100 identifiers may be specified. If more than 100 identifiers are
- * supplied, this method throws an {@link IllegalArgumentException}.
+ * supplied, this method throws an {@code IllegalArgumentException}.
*
* @param identifiers The identifiers used to indicate which user records should be returned.
* Must have 100 or fewer entries.
@@ -877,7 +877,7 @@ private boolean isUserFound(UserIdentifier id, Collection userRecord
* DeleteUsersResult.getSuccessCount() value.
*
* A maximum of 1000 identifiers may be supplied. If more than 1000 identifiers are
- * supplied, this method throws an {@link IllegalArgumentException}.
+ * supplied, this method throws an {@code IllegalArgumentException}.
*
*
This API has a rate limit of 1 QPS. Exceeding the limit may result in a quota exceeded
* error. If you want to delete more than 1000 users, we suggest adding a delay to ensure you
@@ -886,7 +886,7 @@ private boolean isUserFound(UserIdentifier id, Collection userRecord
* @param uids The uids of the users to be deleted. Must have <= 1000 entries.
* @return The total number of successful/failed deletions, as well as the array of errors that
* correspond to the failed deletions.
- * @throw IllegalArgumentException If any of the identifiers are invalid or if more than 1000
+ * @throws IllegalArgumentException If any of the identifiers are invalid or if more than 1000
* identifiers are specified.
* @throws FirebaseAuthException If an error occurs while deleting users.
*/
@@ -902,7 +902,7 @@ public DeleteUsersResult deleteUsers(List uids) throws FirebaseAuthExcep
* deletions, as well as the array of errors that correspond to the failed deletions. If an
* error occurs while deleting the user account, the future throws a
* {@link FirebaseAuthException}.
- * @throw IllegalArgumentException If any of the identifiers are invalid or if more than 1000
+ * @throws IllegalArgumentException If any of the identifiers are invalid or if more than 1000
* identifiers are specified.
*/
public ApiFuture deleteUsersAsync(List uids) {
diff --git a/src/main/java/com/google/firebase/auth/ListProviderConfigsPage.java b/src/main/java/com/google/firebase/auth/ListProviderConfigsPage.java
index 361f932bd..0e35337a9 100644
--- a/src/main/java/com/google/firebase/auth/ListProviderConfigsPage.java
+++ b/src/main/java/com/google/firebase/auth/ListProviderConfigsPage.java
@@ -88,7 +88,7 @@ public String getNextPageToken() {
@Override
public ListProviderConfigsPage getNextPage() {
if (hasNextPage()) {
- Factory factory = new Factory(source, maxResults, currentBatch.getPageToken());
+ Factory factory = new Factory<>(source, maxResults, currentBatch.getPageToken());
try {
return factory.create();
} catch (FirebaseAuthException e) {
@@ -99,25 +99,25 @@ public ListProviderConfigsPage getNextPage() {
}
/**
- * Returns an {@link Iterable} that facilitates transparently iterating over all the provider
+ * Returns an {@code Iterable} that facilitates transparently iterating over all the provider
* configs in the current Firebase project, starting from this page.
*
- * The {@link Iterator} instances produced by the returned {@link Iterable} never buffers more
+ *
The {@code Iterator} instances produced by the returned {@code Iterable} never buffers more
* than one page of provider configs at a time. It is safe to abandon the iterators (i.e. break
* the loops) at any time.
*
- * @return a new {@link Iterable} instance.
+ * @return a new {@code Iterable} instance.
*/
@NonNull
@Override
public Iterable iterateAll() {
- return new ProviderConfigIterable(this);
+ return new ProviderConfigIterable<>(this);
}
/**
- * Returns an {@link Iterable} over the provider configs in this page.
+ * Returns an {@code Iterable} over the provider configs in this page.
*
- * @return a {@link Iterable} instance.
+ * @return a {@code Iterable} instance.
*/
@NonNull
@Override
@@ -136,7 +136,7 @@ private static class ProviderConfigIterable implements
@Override
@NonNull
public Iterator iterator() {
- return new ProviderConfigIterator(startingPage);
+ return new ProviderConfigIterator<>(startingPage);
}
/**
@@ -230,7 +230,7 @@ public ListSamlProviderConfigsResponse fetch(int maxResults, String pageToken)
}
/**
- * A simple factory class for {@link ProviderConfigsPage} instances.
+ * A simple factory class for {@link ListProviderConfigsPage} instances.
*
* Performs argument validation before attempting to load any provider config data (which is
* expensive, and hence may be performed asynchronously on a separate thread).
@@ -261,7 +261,7 @@ static class Factory {
ListProviderConfigsPage create() throws FirebaseAuthException {
ListProviderConfigsResponse batch = source.fetch(maxResults, pageToken);
- return new ListProviderConfigsPage(batch, source, maxResults);
+ return new ListProviderConfigsPage<>(batch, source, maxResults);
}
}
}
diff --git a/src/main/java/com/google/firebase/auth/OidcProviderConfig.java b/src/main/java/com/google/firebase/auth/OidcProviderConfig.java
index 879b7e79f..26931788e 100644
--- a/src/main/java/com/google/firebase/auth/OidcProviderConfig.java
+++ b/src/main/java/com/google/firebase/auth/OidcProviderConfig.java
@@ -132,7 +132,7 @@ public static final class UpdateRequest extends AbstractUpdateRequestThe returned object should be passed to
- * {@link AbstractFirebaseAuth#updateOidcProviderConfig(CreateRequest)} to save the updated
+ * {@link AbstractFirebaseAuth#updateOidcProviderConfig(UpdateRequest)} to save the updated
* config.
*
* @param providerId A non-null, non-empty provider ID string.
diff --git a/src/main/java/com/google/firebase/auth/multitenancy/ListTenantsPage.java b/src/main/java/com/google/firebase/auth/multitenancy/ListTenantsPage.java
index c1f393ddb..5f9917bce 100644
--- a/src/main/java/com/google/firebase/auth/multitenancy/ListTenantsPage.java
+++ b/src/main/java/com/google/firebase/auth/multitenancy/ListTenantsPage.java
@@ -96,14 +96,14 @@ public ListTenantsPage getNextPage() {
}
/**
- * Returns an {@link Iterable} that facilitates transparently iterating over all the tenants in
+ * Returns an {@code Iterable} that facilitates transparently iterating over all the tenants in
* the current Firebase project, starting from this page.
*
- * The {@link Iterator} instances produced by the returned {@link Iterable} never buffers more
+ *
The {@code Iterator} instances produced by the returned {@code Iterable} never buffers more
* than one page of tenants at a time. It is safe to abandon the iterators (i.e. break the loops)
* at any time.
*
- * @return a new {@link Iterable} instance.
+ * @return a new {@code Iterable} instance.
*/
@NonNull
@Override
@@ -112,9 +112,9 @@ public Iterable iterateAll() {
}
/**
- * Returns an {@link Iterable} over the tenants in this page.
+ * Returns an {@code Iterable} over the tenants in this page.
*
- * @return a {@link Iterable} instance.
+ * @return a {@code Iterable} instance.
*/
@NonNull
@Override
@@ -137,7 +137,7 @@ public Iterator iterator() {
}
/**
- * An {@link Iterator} that cycles through tenants, one at a time.
+ * An {@code Iterator} that cycles through tenants, one at a time.
*
* It buffers the last retrieved batch of tenants in memory. The {@code maxResults} parameter
* is an upper bound on the batch size.