4e0143eb057ae96499e59ecf9d1645422660e532
Files Diff
- Added: 6
- Removed: 0
- Renamed: 0
- Modified: 12
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 4 | ||
Rename Variable existingCryptor : FileContentCryptor to existingInstance : T in method private initializeLazily(reference AtomicReference<T>, factory Supplier<T>) : T in class org.cryptomator.crypto.engine.impl.CryptorImpl | From | To | |
Rename Variable existingCryptor : FilenameCryptor to existingInstance : T in method private initializeLazily(reference AtomicReference<T>, factory Supplier<T>) : T in class org.cryptomator.crypto.engine.impl.CryptorImpl | From | To | |
Rename Variable newCryptor : FilenameCryptor to newInstance : T in method private initializeLazily(reference AtomicReference<T>, factory Supplier<T>) : T in class org.cryptomator.crypto.engine.impl.CryptorImpl | From | To | |
Rename Variable newCryptor : FileContentCryptor to newInstance : T in method private initializeLazily(reference AtomicReference<T>, factory Supplier<T>) : T in class org.cryptomator.crypto.engine.impl.CryptorImpl | From | To | |
Change Return Type | 4 | ||
Change Return Type BlockingQueue<ByteBuffer> to ByteBuffer in method public ciphertext() : ByteBuffer in class org.cryptomator.crypto.engine.NoFileContentCryptor.Encryptor | From | To | |
Change Return Type BlockingQueue<ByteBuffer> to ByteBuffer in method public cleartext() : ByteBuffer in class org.cryptomator.crypto.engine.FileContentDecryptor | From | To | |
Change Return Type BlockingQueue<ByteBuffer> to ByteBuffer in method public cleartext() : ByteBuffer in class org.cryptomator.crypto.engine.NoFileContentCryptor.Decryptor | From | To | |
Change Return Type BlockingQueue<ByteBuffer> to ByteBuffer in method public ciphertext() : ByteBuffer in class org.cryptomator.crypto.engine.FileContentEncryptor | From | To | |
Move Attribute | 3 | ||
Move Attribute private RANDOM_MOCK : SecureRandom from class org.cryptomator.crypto.fs.EncryptAndShortenIntegrationTest to private RANDOM_MOCK : SecureRandom from class org.cryptomator.crypto.engine.impl.TestCryptorImplFactory | From | To | |
Move Attribute private RANDOM_MOCK : SecureRandom from class org.cryptomator.crypto.engine.impl.CryptorImplTest to private RANDOM_MOCK : SecureRandom from class org.cryptomator.crypto.engine.impl.FileContentEncryptorImplTest | From | To | |
Move Attribute private RANDOM_MOCK : SecureRandom from class org.cryptomator.crypto.engine.impl.CryptorImplTest to private RANDOM_MOCK : SecureRandom from class org.cryptomator.crypto.engine.impl.TestCryptorImplFactory | From | To | |
Change Variable Type | 4 | ||
Change Variable Type newCryptor : FileContentCryptor to newInstance : T in method private initializeLazily(reference AtomicReference<T>, factory Supplier<T>) : T in class org.cryptomator.crypto.engine.impl.CryptorImpl | From | To | |
Change Variable Type existingCryptor : FileContentCryptor to existingInstance : T in method private initializeLazily(reference AtomicReference<T>, factory Supplier<T>) : T in class org.cryptomator.crypto.engine.impl.CryptorImpl | From | To | |
Change Variable Type existingCryptor : FilenameCryptor to existingInstance : T in method private initializeLazily(reference AtomicReference<T>, factory Supplier<T>) : T in class org.cryptomator.crypto.engine.impl.CryptorImpl | From | To | |
Change Variable Type newCryptor : FilenameCryptor to newInstance : T in method private initializeLazily(reference AtomicReference<T>, factory Supplier<T>) : T in class org.cryptomator.crypto.engine.impl.CryptorImpl | From | To | |
Extract Method | 2 | ||
Extract Method private initializeLazily(reference AtomicReference<T>, factory Supplier<T>) : T extracted from public getFilenameCryptor() : FilenameCryptor in class org.cryptomator.crypto.engine.impl.CryptorImpl | From | To | |
Extract Method private initializeLazily(reference AtomicReference<T>, factory Supplier<T>) : T extracted from public getFileContentCryptor() : FileContentCryptor in class org.cryptomator.crypto.engine.impl.CryptorImpl | From | To |