mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-18 13:21:02 +00:00
Fixed some warnings
This commit is contained in:
parent
80c7e8adff
commit
8a319c49db
1 changed files with 5 additions and 5 deletions
|
@ -106,12 +106,12 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
||||||
private ConnectionHelper.NetworkState lastNetworkState = null;
|
private ConnectionHelper.NetworkState lastNetworkState = null;
|
||||||
|
|
||||||
private boolean foreground = false;
|
private boolean foreground = false;
|
||||||
private Map<Long, Core.State> coreStates = new Hashtable<>();
|
private final Map<Long, Core.State> coreStates = new Hashtable<>();
|
||||||
private MutableLiveData<ConnectionHelper.NetworkState> liveNetworkState = new MutableLiveData<>();
|
private final MutableLiveData<ConnectionHelper.NetworkState> liveNetworkState = new MutableLiveData<>();
|
||||||
private MutableLiveData<List<TupleAccountState>> liveAccountState = new MutableLiveData<>();
|
private final MutableLiveData<List<TupleAccountState>> liveAccountState = new MutableLiveData<>();
|
||||||
private MediatorState liveAccountNetworkState = new MediatorState();
|
private final MediatorState liveAccountNetworkState = new MediatorState();
|
||||||
|
|
||||||
private static ExecutorService executor = Helper.getBackgroundExecutor(1, "sync");
|
private static final ExecutorService executor = Helper.getBackgroundExecutor(1, "sync");
|
||||||
|
|
||||||
private static final long BACKUP_DELAY = 30 * 1000L; // milliseconds
|
private static final long BACKUP_DELAY = 30 * 1000L; // milliseconds
|
||||||
private static final long PURGE_DELAY = 30 * 1000L; // milliseconds
|
private static final long PURGE_DELAY = 30 * 1000L; // milliseconds
|
||||||
|
|
Loading…
Reference in a new issue