79b825aaad6c35fd32b3106f0ba91e4ec8c8146e
Files Diff
- Added: 7
- Removed: 281
- Renamed: 0
- Modified: 24
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 3 | ||
Change Parameter Type id : String to vaultSettings : VaultSettings in method package Vault(vaultSettings VaultSettings, server WebDavServer, closer DeferredCloser) in class org.cryptomator.ui.model.Vault | From | To | |
Change Parameter Type vaults : Vaults to vaults : VaultList in method public MainController(mainWindow Stage, localization Localization, settings Settings, vaultFactoy VaultFactory, welcomeController Lazy<WelcomeController>, initializeController Lazy<InitializeController>, notFoundController Lazy<NotFoundController>, upgradeController Lazy<UpgradeController>, unlockController Lazy<UnlockController>, unlockedControllerProvider Provider<UnlockedController>, changePasswordController Lazy<ChangePasswordController>, settingsController Lazy<SettingsController>, upgradeStrategies Lazy<UpgradeStrategies>, vaults VaultList) in class org.cryptomator.ui.controllers.MainController | From | To | |
Change Parameter Type directories : List<Vault> to directories : List<VaultSettings> in method public setDirectories(directories List<VaultSettings>) : void in class org.cryptomator.ui.settings.Settings | From | To | |
Move Method | 1 | ||
Move Method package setPath(path Path) : void from class org.cryptomator.ui.model.Vault to public setPath(path Path) : void from class org.cryptomator.ui.settings.VaultSettings | From | To | |
Move Attribute | 3 | ||
Move Attribute private id : String from class org.cryptomator.ui.model.Vault to private id : String from class org.cryptomator.ui.settings.VaultSettings | From | To | |
Move Attribute public MASTERKEY_FILENAME : String from class org.cryptomator.filesystem.crypto.Constants to private MASTERKEY_FILENAME : String from class org.cryptomator.ui.model.UpgradeStrategy | From | To | |
Move Attribute public MASTERKEY_BACKUP_FILENAME : String from class org.cryptomator.filesystem.crypto.Constants to private MASTERKEY_BACKUP_FILENAME : String from class org.cryptomator.ui.model.UpgradeStrategy | From | To | |
Extract Class | 1 | ||
Extract Class org.cryptomator.ui.settings.VaultSettings from class org.cryptomator.ui.model.Vault | From | To | |
Rename Class | 1 | ||
Rename Class org.cryptomator.ui.model.Vaults renamed to org.cryptomator.ui.model.VaultList | From | To | |
Move And Rename Class | 1 | ||
Move And Rename Class org.cryptomator.frontend.FrontendCreationFailedException moved and renamed to org.cryptomator.common.LazyInitializer.InitializationException | From | To | |
Move Class | 1 | ||
Move Class org.cryptomator.frontend.webdav.mount.WindowsDriveLetters moved to org.cryptomator.ui.model.WindowsDriveLetters | From | To | |
Extract Method | 1 | ||
Extract Method public initializeLazily(reference AtomicReference<T>, factory SupplierThrowingException<T,E>, exceptionType Class<E>) : T extracted from public initializeLazily(reference AtomicReference<T>, factory Supplier<T>) : T in class org.cryptomator.common.LazyInitializer | From | To | |
Rename Method | 2 | ||
Rename Method private getNioFileSystem() : FileSystem renamed to private getCryptoFileSystem(passphrase CharSequence) : CryptoFileSystem in class org.cryptomator.ui.model.Vault | From | To | |
Rename Method public listIterator(index int) : ListIterator<Vault> renamed to public getSourceIndex(index int) : int in class org.cryptomator.ui.model.VaultList | From | To | |
Change Return Type | 3 | ||
Change Return Type List<Vault> to List<VaultSettings> in method public getDirectories() : List<VaultSettings> in class org.cryptomator.ui.settings.Settings | From | To | |
Change Return Type ListIterator<Vault> to int in method public getSourceIndex(index int) : int in class org.cryptomator.ui.model.VaultList | From | To | |
Change Return Type FileSystem to CryptoFileSystem in method private getCryptoFileSystem(passphrase CharSequence) : CryptoFileSystem in class org.cryptomator.ui.model.Vault | From | To | |
Rename Attribute | 1 | ||
Rename Attribute nioFileSystem : AtomicReference<FileSystem> to cryptoFileSystem : AtomicReference<CryptoFileSystem> in class org.cryptomator.ui.model.Vault | From | To | |
Change Attribute Type | 4 | ||
Change Attribute Type directories : List<Vault> to directories : List<VaultSettings> in class org.cryptomator.ui.settings.Settings | From | To | |
Change Attribute Type nioFileSystem : AtomicReference<FileSystem> to cryptoFileSystem : AtomicReference<CryptoFileSystem> in class org.cryptomator.ui.model.Vault | From | To | |
Change Attribute Type vaults : Vaults to vaults : VaultList in class org.cryptomator.ui.controllers.MainController | From | To | |
Change Attribute Type SHUTDOWN_TASKS : Set<Runnable> to SHUTDOWN_TASKS : ConcurrentMap<Runnable,Boolean> in class org.cryptomator.ui.Cryptomator | From | To | |
Rename Parameter | 1 | ||
Rename Parameter id : String to vaultSettings : VaultSettings in method package Vault(vaultSettings VaultSettings, server WebDavServer, closer DeferredCloser) in class org.cryptomator.ui.model.Vault | From | To |