Skip to content

Commit f15269d

Browse files
committed
add @CheckReturnValue annotation
1 parent efe94a6 commit f15269d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

firebase-auth-rest/core/src/main/java/com/anotherdev/firebase/auth/FirebaseUser.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
import java.util.List;
1010

11+
import io.reactivex.rxjava3.annotations.CheckReturnValue;
1112
import io.reactivex.rxjava3.core.Completable;
1213
import io.reactivex.rxjava3.core.Single;
1314

@@ -36,17 +37,22 @@ public interface FirebaseUser {
3637
boolean isAnonymous();
3738

3839
@NonNull
40+
@CheckReturnValue
3941
Single<SignInResponse> linkWithCredential(@NonNull AuthCredential credential);
4042

4143
@NonNull
44+
@CheckReturnValue
4245
Single<SignInResponse> reauthenticate(@NonNull AuthCredential credential);
4346

4447
@NonNull
48+
@CheckReturnValue
4549
Completable reload();
4650

4751
@NonNull
52+
@CheckReturnValue
4853
Completable updateProfile(@NonNull UserProfileChangeRequest request);
4954

5055
@NonNull
56+
@CheckReturnValue
5157
Completable updatePassword(@NonNull String newPassword);
5258
}

0 commit comments

Comments
 (0)