e0b534af23e2cbc3e8210252dd15cfc038950cfd
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 11
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Merge Attribute | 1 | ||
Merge Attribute [closed : boolean, allContexts : ArrayList<WeakReference<ChainingInterface>>] to resources : ChronicleHashResources in class net.openhft.chronicle.hash.impl.VanillaChronicleHash | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type hash : ChronicleHash<?,?,?,?> to chronicleHashIdentityString : String in method public closeContext(chronicleHashIdentityString String) : void in class net.openhft.chronicle.hash.impl.stage.hash.ThreadLocalState | From | To | |
Move Method | 2 | ||
Move Method private checkOpen() : void from class net.openhft.chronicle.hash.impl.VanillaChronicleHash to private checkOpen() : void from class net.openhft.chronicle.hash.impl.ChronicleHashResources | From | To | |
Move Method package addCloseable(closeable Closeable) : void from class net.openhft.chronicle.map.ReplicatedChronicleMap to public addCloseable(closeable Closeable) : void from class net.openhft.chronicle.hash.impl.ChronicleHashResources | From | To | |
Pull Up Attribute | 2 | ||
Pull Up Attribute private LOG : Logger from class net.openhft.chronicle.hash.impl.PersistedChronicleHashResources to private LOG : Logger from class net.openhft.chronicle.hash.impl.ChronicleHashResources | From | To | |
Pull Up Attribute private LOG : Logger from class net.openhft.chronicle.hash.impl.InMemoryChronicleHashResources to private LOG : Logger from class net.openhft.chronicle.hash.impl.ChronicleHashResources | From | To | |
Move Attribute | 1 | ||
Move Attribute protected closed : boolean from class net.openhft.chronicle.hash.impl.VanillaChronicleHash to private closed : boolean from class net.openhft.chronicle.hash.impl.ChronicleHashResources | From | To | |
Change Variable Type | 2 | ||
Change Variable Type e : Exception to t : Throwable in method package createWithoutFile() : ChronicleMap<K,V> in class net.openhft.chronicle.map.ChronicleMapBuilder | From | To | |
Change Variable Type e : Exception to t : Throwable in method package createWithFile(file File, recover boolean, overrideBuilderConfig boolean) : ChronicleMap<K,V> in class net.openhft.chronicle.map.ChronicleMapBuilder | From | To | |
Extract Method | 6 | ||
Extract Method package newQueryContext() : ChainingInterface extracted from private q() : ChainingInterface in class net.openhft.chronicle.map.VanillaChronicleMap | From | To | |
Extract Method private checkOpen() : void extracted from public addMemoryResource(address long, size long) : void in class net.openhft.chronicle.hash.impl.ChronicleHashResources | From | To | |
Extract Method private releaseEverything() : Throwable extracted from public releaseManually() : void in class net.openhft.chronicle.hash.impl.ChronicleHashResources | From | To | |
Extract Method package newIterationContext() : ChainingInterface extracted from private i() : ChainingInterface in class net.openhft.chronicle.map.VanillaChronicleMap | From | To | |
Extract Method private releaseMappedMemory() : Throwable extracted from package doRelease() : Throwable in class net.openhft.chronicle.hash.impl.PersistedChronicleHashResources | From | To | |
Extract Method private releaseFile(thrown Throwable) : Throwable extracted from package doRelease() : Throwable in class net.openhft.chronicle.hash.impl.PersistedChronicleHashResources | From | To | |
Rename Method | 2 | ||
Rename Method package doRelease() : Throwable renamed to package releaseSystemResources() : Throwable in class net.openhft.chronicle.hash.impl.PersistedChronicleHashResources | From | To | |
Rename Method package abstract doRelease() : Throwable renamed to package abstract releaseSystemResources() : Throwable in class net.openhft.chronicle.hash.impl.ChronicleHashResources | From | To | |
Rename Variable | 2 | ||
Rename Variable e : Exception to t : Throwable in method package createWithoutFile() : ChronicleMap<K,V> in class net.openhft.chronicle.map.ChronicleMapBuilder | From | To | |
Rename Variable e : Exception to t : Throwable in method package createWithFile(file File, recover boolean, overrideBuilderConfig boolean) : ChronicleMap<K,V> in class net.openhft.chronicle.map.ChronicleMapBuilder | From | To | |
Inline Method | 1 | ||
Inline Method protected doClose(thrown Throwable) : void inlined to public close() : void in class net.openhft.chronicle.hash.impl.VanillaChronicleHash | From | To | |
Change Return Type | 2 | ||
Change Return Type void to boolean in method public releaseManually() : boolean in class net.openhft.chronicle.hash.impl.ChronicleHashResources | From | To | |
Change Return Type List<WeakReference<ChainingInterface>> to List<WeakReference<ContextHolder>> in method public allContexts() : List<WeakReference<ContextHolder>> in class net.openhft.chronicle.hash.impl.VanillaChronicleHash | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type cxt : ThreadLocal<ChainingInterface> to cxt : ThreadLocal<ContextHolder> in class net.openhft.chronicle.map.VanillaChronicleMap | From | To | |
Rename Parameter | 1 | ||
Rename Parameter hash : ChronicleHash<?,?,?,?> to chronicleHashIdentityString : String in method public closeContext(chronicleHashIdentityString String) : void in class net.openhft.chronicle.hash.impl.stage.hash.ThreadLocalState | From | To |