File tree Expand file tree Collapse file tree 4 files changed +5
-10
lines changed
appcheck/firebase-appcheck-interop/src/main/java/com/google/firebase/appcheck
firebase-firestore/src/test/java/com/google/firebase/firestore/auth
firebase-functions/src/main/java/com/google/firebase/functions
firebase-storage/src/test/java/com/google/firebase/storage/internal Expand file tree Collapse file tree 4 files changed +5
-10
lines changed Original file line number Diff line number Diff line change 16
16
17
17
import androidx .annotation .NonNull ;
18
18
import androidx .annotation .Nullable ;
19
-
20
19
import com .google .firebase .appcheck .interop .InteropAppCheckTokenProvider ;
21
20
22
21
/**
@@ -35,8 +34,8 @@ public abstract class AppCheckTokenResult {
35
34
public abstract String getToken ();
36
35
37
36
/**
38
- * Returns the {@link Exception} if the {@link
39
- * InteropAppCheckTokenProvider} failed to obtain a token.
37
+ * Returns the {@link Exception} if the {@link InteropAppCheckTokenProvider} failed to obtain a
38
+ * token.
40
39
*/
41
40
@ Nullable
42
41
public abstract Exception getError ();
Original file line number Diff line number Diff line change @@ -75,8 +75,7 @@ public class FirebaseAppCheckTokenProviderTest {
75
75
76
76
@ Rule public final MockitoRule mocks = MockitoJUnit .rule ().strictness (Strictness .STRICT_STUBS );
77
77
78
- @ Mock
79
- InteropAppCheckTokenProvider mockInteropAppCheckTokenProvider ;
78
+ @ Mock InteropAppCheckTokenProvider mockInteropAppCheckTokenProvider ;
80
79
@ Mock Listener <String > mockAppCheckTokenListener ;
81
80
@ Mock AppCheckTokenResult mockAppCheckTokenResult ;
82
81
@ Captor ArgumentCaptor <AppCheckTokenListener > idTokenListenerCaptor ;
Original file line number Diff line number Diff line change @@ -36,8 +36,7 @@ class FirebaseContextProvider implements ContextProvider {
36
36
37
37
private final Provider <InternalAuthProvider > tokenProvider ;
38
38
private final Provider <FirebaseInstanceIdInternal > instanceId ;
39
- private final AtomicReference <InteropAppCheckTokenProvider > appCheckRef =
40
- new AtomicReference <>();
39
+ private final AtomicReference <InteropAppCheckTokenProvider > appCheckRef = new AtomicReference <>();
41
40
private final Executor executor ;
42
41
43
42
@ Inject
Original file line number Diff line number Diff line change 21
21
import com .google .firebase .FirebaseException ;
22
22
import com .google .firebase .appcheck .AppCheckTokenResult ;
23
23
import com .google .firebase .appcheck .interop .InteropAppCheckTokenProvider ;
24
-
25
24
import java .util .concurrent .ExecutorService ;
26
25
import java .util .concurrent .Executors ;
27
26
import java .util .concurrent .Future ;
@@ -41,8 +40,7 @@ public class UtilTest {
41
40
// Tasks.await() cannot be invoked on the main thread, so we need a real executor.
42
41
private final ExecutorService executorService = Executors .newSingleThreadExecutor ();
43
42
44
- @ Mock
45
- InteropAppCheckTokenProvider mockAppCheckTokenProvider ;
43
+ @ Mock InteropAppCheckTokenProvider mockAppCheckTokenProvider ;
46
44
@ Mock AppCheckTokenResult mockAppCheckTokenResult ;
47
45
48
46
@ Before
You can’t perform that action at this time.
0 commit comments