Skip to content

Commit de9ef17

Browse files
committed
Re-arrange member declarations and make more consistent
1 parent 5979f78 commit de9ef17

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

firebase-appdistribution/src/main/java/com/google/firebase/appdistribution/impl/FirebaseAppDistributionImpl.java

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -68,20 +68,21 @@ class FirebaseAppDistributionImpl implements FirebaseAppDistribution {
6868
private final SignInStorage signInStorage;
6969
private final ReleaseIdentifier releaseIdentifier;
7070
private final ScreenshotTaker screenshotTaker;
71-
@Lightweight private Executor lightweightExecutor;
71+
@Lightweight private final Executor lightweightExecutor;
7272
@Blocking private final Executor blockingExecutor;
7373
private final SequentialReference<AppDistributionReleaseInternal> cachedNewRelease;
74-
private TaskCache<AppDistributionRelease> checkForNewReleaseTaskCache;
75-
private UpdateTaskCache updateIfNewReleaseAvailableTaskCache;
74+
private final TaskCache<AppDistributionRelease> checkForNewReleaseTaskCache;
75+
private final UpdateTaskCache updateIfNewReleaseAvailableTaskCache;
7676
private final FirebaseAppDistributionNotificationsManager notificationsManager;
77-
private AlertDialog updateConfirmationDialog;
78-
private AlertDialog signInConfirmationDialog;
79-
@Nullable private Activity dialogHostActivity = null;
77+
private final AtomicBoolean feedbackInProgress = new AtomicBoolean(false);
78+
79+
@Nullable private AlertDialog updateConfirmationDialog;
80+
@Nullable private AlertDialog signInConfirmationDialog;
81+
@Nullable private Activity dialogHostActivity;
8082
private boolean remakeSignInConfirmationDialog = false;
8183
private boolean remakeUpdateConfirmationDialog = false;
82-
private TaskCompletionSource<Void> showSignInDialogTask = null;
83-
private TaskCompletionSource<Void> showUpdateDialogTask = null;
84-
private final AtomicBoolean feedbackInProgress = new AtomicBoolean(false);
84+
@Nullable private TaskCompletionSource<Void> showSignInDialogTask;
85+
@Nullable private TaskCompletionSource<Void> showUpdateDialogTask;
8586

8687
@VisibleForTesting
8788
FirebaseAppDistributionImpl(

0 commit comments

Comments
 (0)