Skip to content

Commit 42c1e71

Browse files
AppCheck javadoc nits (#2621)
* AppCheck javadoc nits * Fix formatting error
1 parent bb1177c commit 42c1e71

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

appcheck/firebase-appcheck/src/main/java/com/google/firebase/appcheck/AppCheckProvider.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
/**
2121
* Interface for a provider that generates {@link AppCheckToken}s. This provider can be called at
2222
* any time by any Firebase library that depends (optionally or otherwise) on {@link
23-
* AppCheckToken}s. This provider should be responsible for determining if a new token can be
24-
* created at the time of the call and returning that new token if it can be.
23+
* AppCheckToken}s. This provider is responsible for determining if it can create a new token at the
24+
* time of the call and returning that new token if it can.
2525
*/
2626
public interface AppCheckProvider {
2727

appcheck/firebase-appcheck/src/main/java/com/google/firebase/appcheck/FirebaseAppCheck.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ public static FirebaseAppCheck getInstance(@NonNull FirebaseApp firebaseApp) {
3737
}
3838

3939
/**
40-
* Installs the given {@link AppCheckProviderFactory}, overwriting any that previously was
40+
* Installs the given {@link AppCheckProviderFactory}, overwriting any that were previously
4141
* associated with this FirebaseAppCheck instance. Any {@link AppCheckTokenListener}s attached to
42-
* this FirebaseAppCheck instance will be transferred from any existing factory to the newly
42+
* this FirebaseAppCheck instance will be transferred from existing factories to the newly
4343
* installed one.
4444
*
4545
* <p>Automatic token refreshing will only occur if the global {@code
@@ -52,9 +52,9 @@ public static FirebaseAppCheck getInstance(@NonNull FirebaseApp firebaseApp) {
5252
public abstract void installAppCheckProviderFactory(@NonNull AppCheckProviderFactory factory);
5353

5454
/**
55-
* Installs the given {@link AppCheckProviderFactory}, overwriting any that previously was
55+
* Installs the given {@link AppCheckProviderFactory}, overwriting any that were previously
5656
* associated with this FirebaseAppCheck instance. Any {@link AppCheckTokenListener}s attached to
57-
* this FirebaseAppCheck instance will be transferred from any existing factory to the newly
57+
* this FirebaseAppCheck instance will be transferred from existing factories to the newly
5858
* installed one.
5959
*
6060
* <p>Automatic token refreshing will only occur if the {@code isTokenAutoRefreshEnabled} field is

0 commit comments

Comments
 (0)