49646aae41eee3adf3e574a8f49aae0f12ee5f4c
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 7
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public getEncryptedDirName(cleartextDirName String) : String renamed to public getEncryptedDirFileName(cleartextDirName String) : String in class org.cryptomator.webdav.jackrabbit.FilenameTranslator | From | To | |
Move Method | 2 | ||
Move Method private writeAllBytesAtomically(path Path, bytes byte[]) : void from class org.cryptomator.webdav.jackrabbit.CryptoResourceFactory to private writeAllBytesAtomically(path Path, bytes byte[]) : void from class org.cryptomator.webdav.jackrabbit.FilenameTranslator | From | To | |
Move Method private readAllBytesAtomically(path Path) : byte[] from class org.cryptomator.webdav.jackrabbit.CryptoResourceFactory to private readAllBytesAtomically(path Path) : byte[] from class org.cryptomator.webdav.jackrabbit.FilenameTranslator | From | To | |
Rename Variable | 1 | ||
Rename Variable bytes : byte[] to metadataContent : byte[] in method private writeMetadata(metadataGroup String, metadata LongFilenameMetadata) : void in class org.cryptomator.webdav.jackrabbit.FilenameTranslator | From | To | |
Parameterize Variable | 2 | ||
Parameterize Variable metadataFile : Path to path : Path in method private readAllBytesAtomically(path Path) : byte[] in class org.cryptomator.webdav.jackrabbit.FilenameTranslator | From | To | |
Parameterize Variable metadataFile : Path to path : Path in method private writeAllBytesAtomically(path Path, bytes byte[]) : void in class org.cryptomator.webdav.jackrabbit.FilenameTranslator | From | To | |
Extract Method | 2 | ||
Extract Method private writeAllBytesAtomically(path Path, bytes byte[]) : void extracted from private writeMetadata(metadataGroup String, metadata LongFilenameMetadata) : void in class org.cryptomator.webdav.jackrabbit.FilenameTranslator | From | To | |
Extract Method private readAllBytesAtomically(path Path) : byte[] extracted from private readMetadata(metadataGroup String) : LongFilenameMetadata in class org.cryptomator.webdav.jackrabbit.FilenameTranslator | From | To | |
Extract And Move Method | 2 | ||
Extract And Move Method public getDirectoryId(directoryFile Path, createIfNonexisting boolean) : String extracted from private createEncryptedDirectoryPath(relativeCleartextPath String) : Path in class org.cryptomator.webdav.jackrabbit.CryptoResourceFactory & moved to class org.cryptomator.webdav.jackrabbit.FilenameTranslator | From | To | |
Extract And Move Method public getDirectoryId(directoryFile Path, createIfNonexisting boolean) : String extracted from private copyDirectoryContents(srcDirId String, dstDirId String) : void in class org.cryptomator.webdav.jackrabbit.EncryptedDir & moved to class org.cryptomator.webdav.jackrabbit.FilenameTranslator | From | To | |
Rename Parameter | 2 | ||
Rename Parameter cleartextPath : String to cleartextDirectoryId : String in method public encryptDirectoryPath(cleartextDirectoryId String, nativePathSep String) : String in class org.cryptomator.crypto.AbstractCryptorDecorator | From | To | |
Rename Parameter cleartextPath : String to cleartextDirectoryId : String in method public encryptDirectoryPath(cleartextDirectoryId String, nativePathSep String) : String in class org.cryptomator.crypto.PathCachingCryptorDecorator | From | To |