356ea5c31991bcb0aefb182f81e0f9a6745abe68
Files Diff
- Added: 2
- Removed: 4
- Renamed: 0
- Modified: 10
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public write(source ByteBuffer, position int) : void renamed to public position(position long) : void in class org.cryptomator.crypto.fs.CryptoWritableFile | From | To | |
Rename Method public read(target ByteBuffer, position long) : void renamed to public position(position long) : void in class org.cryptomator.crypto.fs.CryptoReadableFile | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type position : int to position : long in method public position(position long) : void in class org.cryptomator.crypto.fs.CryptoWritableFile | From | To | |
Inline Method | 2 | ||
Inline Method public write(source ByteBuffer, position int) : void inlined to public write(source ByteBuffer) : int in class org.cryptomator.filesystem.inmem.InMemoryFile | From | To | |
Change Return Type | 5 | ||
Change Return Type void to int in method public read(target ByteBuffer) : int in class org.cryptomator.filesystem.inmem.InMemoryFile | From | To | |
Change Return Type void to int in method public write(source ByteBuffer) : int in class org.cryptomator.crypto.fs.CryptoWritableFile | From | To | |
Change Return Type void to int in method private readFromBufferedCleartext(target ByteBuffer) : int in class org.cryptomator.crypto.fs.CryptoReadableFile | From | To | |
Change Return Type void to int in method public read(target ByteBuffer) : int in class org.cryptomator.crypto.fs.CryptoReadableFile | From | To | |
Change Return Type void to int in method public write(source ByteBuffer) : int in class org.cryptomator.filesystem.inmem.InMemoryFile | From | To | |
Move Class | 2 | ||
Move Class org.cryptomator.commons.test.matcher.ContainsMatcher moved to org.cryptomator.common.test.matcher.ContainsMatcher | From | To | |
Move Class org.cryptomator.commons.test.matcher.PropertyMatcher moved to org.cryptomator.common.test.matcher.PropertyMatcher | From | To | |
Extract Variable | 2 | ||
Extract Variable size : int in method public write(source ByteBuffer) : int from class org.cryptomator.crypto.fs.CryptoWritableFile | From | To | |
Extract Variable initialContentPosition : int in method public write(source ByteBuffer) : int from class org.cryptomator.filesystem.inmem.InMemoryFile | From | To | |
Change Variable Type | 1 | ||
Change Variable Type iterator : Iterator<AutoCloseable> to iterator : Iterator<? extends AutoCloseable> in method package cleanup(readableFiles Collection<ReadableFile>, writableFiles Collection<WritableFile>) : void in class org.cryptomator.filesystem.OpenFiles | From | To | |
Change Package | 1 | ||
Change Package org.cryptomator.commons to org.cryptomator.common | From | To | |
Extract Method | 1 | ||
Extract Method public position(position long) : void extracted from public write(source ByteBuffer) : void in class org.cryptomator.filesystem.inmem.InMemoryFile | From | To |