7b9ccac147fb90049fa651d97f848d6ce44fce1f
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 3
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 2 | ||
Rename Variable i : int to attempt : int in method private waitUntilReady(raf RandomAccessFile) : int in class net.openhft.chronicle.map.ChronicleMapBuilder | From | To | |
Rename Variable headerSize : int to headerLimit : int in method private writeHeader(fileChannel FileChannel, map VanillaChronicleMap<K,V,?>) : ByteBuffer in class net.openhft.chronicle.map.ChronicleMapBuilder | From | To | |
Change Return Type | 1 | ||
Change Return Type int to ByteBuffer in method private writeHeader(fileChannel FileChannel, map VanillaChronicleMap<K,V,?>) : ByteBuffer in class net.openhft.chronicle.map.ChronicleMapBuilder | From | To | |
Extract Method | 3 | ||
Extract Method private openWithExistingFile(file File, raf RandomAccessFile, recover boolean, overrideBuilderConfig boolean) : ChronicleMap<K,V> extracted from package createWithFile(file File, recover boolean, overrideBuilderConfig boolean) : ChronicleMap<K,V> in class net.openhft.chronicle.map.ChronicleMapBuilder | From | To | |
Extract Method private createWithNewFile(map VanillaChronicleMap<K,V,?>, file File, raf RandomAccessFile, headerBuffer ByteBuffer, headerSize int) : ChronicleMap<K,V> extracted from package createWithFile(file File, recover boolean, overrideBuilderConfig boolean) : ChronicleMap<K,V> in class net.openhft.chronicle.map.ChronicleMapBuilder | From | To | |
Extract Method private waitUntilReady(raf RandomAccessFile) : int extracted from package createWithFile(file File, recover boolean, overrideBuilderConfig boolean) : ChronicleMap<K,V> in class net.openhft.chronicle.map.ChronicleMapBuilder | From | To | |
Rename Parameter | 1 | ||
Rename Parameter headerSize : long to headerEnd : long in method public initBeforeMapping(file File, ch FileChannel, headerEnd long) : void in class net.openhft.chronicle.hash.impl.VanillaChronicleHash | From | To |