diff --git a/src/main/java/org/cryptomator/common/FilsystemOwnerSupplier.java b/src/main/java/org/cryptomator/common/FilesystemOwnerSupplier.java similarity index 82% rename from src/main/java/org/cryptomator/common/FilsystemOwnerSupplier.java rename to src/main/java/org/cryptomator/common/FilesystemOwnerSupplier.java index addea85ba..609e6a769 100644 --- a/src/main/java/org/cryptomator/common/FilsystemOwnerSupplier.java +++ b/src/main/java/org/cryptomator/common/FilesystemOwnerSupplier.java @@ -4,7 +4,7 @@ package org.cryptomator.common; * Objects which has some kind of owner. */ @FunctionalInterface -public interface FilsystemOwnerSupplier { +public interface FilesystemOwnerSupplier { /** * Get the object owner. diff --git a/src/main/java/org/cryptomator/common/vaults/Vault.java b/src/main/java/org/cryptomator/common/vaults/Vault.java index b5158411b..64b763aeb 100644 --- a/src/main/java/org/cryptomator/common/vaults/Vault.java +++ b/src/main/java/org/cryptomator/common/vaults/Vault.java @@ -10,7 +10,7 @@ package org.cryptomator.common.vaults; import org.apache.commons.lang3.SystemUtils; import org.cryptomator.common.Constants; -import org.cryptomator.common.FilsystemOwnerSupplier; +import org.cryptomator.common.FilesystemOwnerSupplier; import org.cryptomator.common.mount.Mounter; import org.cryptomator.common.settings.Settings; import org.cryptomator.common.settings.VaultSettings; @@ -156,7 +156,7 @@ public class Vault { .withMaxCleartextNameLength(vaultSettings.maxCleartextFilenameLength.get()) // .withVaultConfigFilename(Constants.VAULTCONFIG_FILENAME) // .withFilesystemEventConsumer(this::consumeVaultEvent); - if (keyLoader instanceof FilsystemOwnerSupplier oo) { + if (keyLoader instanceof FilesystemOwnerSupplier oo) { fsPropsBuilder.withOwnerGetter(oo::getOwner); } diff --git a/src/main/java/org/cryptomator/ui/keyloading/hub/HubKeyLoadingStrategy.java b/src/main/java/org/cryptomator/ui/keyloading/hub/HubKeyLoadingStrategy.java index 6bf4c0bff..c54b4ce5e 100644 --- a/src/main/java/org/cryptomator/ui/keyloading/hub/HubKeyLoadingStrategy.java +++ b/src/main/java/org/cryptomator/ui/keyloading/hub/HubKeyLoadingStrategy.java @@ -2,7 +2,7 @@ package org.cryptomator.ui.keyloading.hub; import com.google.common.base.Preconditions; import dagger.Lazy; -import org.cryptomator.common.FilsystemOwnerSupplier; +import org.cryptomator.common.FilesystemOwnerSupplier; import org.cryptomator.common.keychain.KeychainManager; import org.cryptomator.common.keychain.NoKeychainAccessProviderException; import org.cryptomator.common.settings.DeviceKey; @@ -27,7 +27,7 @@ import java.util.concurrent.ExecutionException; import java.util.concurrent.atomic.AtomicReference; @KeyLoading -public class HubKeyLoadingStrategy implements KeyLoadingStrategy, FilsystemOwnerSupplier { +public class HubKeyLoadingStrategy implements KeyLoadingStrategy, FilesystemOwnerSupplier { public static final String SCHEME_PREFIX = "hub+"; public static final String SCHEME_HUB_HTTP = SCHEME_PREFIX + "http"; diff --git a/src/main/resources/i18n/strings.properties b/src/main/resources/i18n/strings.properties index a22aa86ab..3270f4ab4 100644 --- a/src/main/resources/i18n/strings.properties +++ b/src/main/resources/i18n/strings.properties @@ -700,5 +700,5 @@ eventView.entry.brokenFileNode.copyDecrypted=Copy decrypted path # Notifications ## FileIsInUse Notification notification.inUse.message=File is locked -notification.inUse.description=File %s is opened by user %s. Ask the user to close the file. Otherwise, you can ignore the lock and open it anyway, but be aware of the data loss risk! +notification.inUse.description=File %s is opened by user %s. Ask the user to close the file. Otherwise, you can ignore the lock and open it anyway, but be aware of the data loss risk. notification.inUse.action=Ignore Lock \ No newline at end of file