Made AtomicReference to mountHandle final

[ci skip]
This commit is contained in:
JaniruTEC 2023-07-21 16:37:08 +02:00
parent 91ece74f57
commit ca3a11de90
No known key found for this signature in database
GPG Key ID: F696B974E62833E3

View File

@ -70,7 +70,7 @@ public class Vault {
private final Mounter mounter;
private final BooleanProperty showingStats;
private AtomicReference<Mounter.MountHandle> mountHandle = new AtomicReference<>(null);
private final AtomicReference<Mounter.MountHandle> mountHandle = new AtomicReference<>(null);
@Inject
Vault(VaultSettings vaultSettings, VaultConfigCache configCache, AtomicReference<CryptoFileSystem> cryptoFileSystem, VaultState state, @Named("lastKnownException") ObjectProperty<Exception> lastKnownException, VaultStats stats, WindowsDriveLetters windowsDriveLetters, Mounter mounter) {