8f2acbd7ab096c0a37fae769cb558e2728c98f03
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 2
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public readHeaderMustThrowIOExceptionIfFileIsEmpty() : void renamed to private openMustThrowIOExceptionIfFileIsEmpty(opener ThrowingConsumer<PageCache,IOException>) : void in class org.neo4j.index.internal.gbptree.GBPTreeTest | From | To | |
Extract Method | 4 | ||
Extract Method private openMustThrowIOExceptionIfStatePagesAreAllZeros(opener ThrowingConsumer<PageCache,IOException>) : void extracted from public readHeaderMustThrowIOExceptionIfStatePagesAreAllZeros() : void in class org.neo4j.index.internal.gbptree.GBPTreeTest | From | To | |
Extract Method private loadStatePages(pagedFile PagedFile) : Pair<TreeState,TreeState> extracted from public readHeader(pageCache PageCache, indexFile File, layout Layout<?,?>, headerReader Header.Reader) : void in class org.neo4j.index.internal.gbptree.GBPTree | From | To | |
Extract Method private openMustThrowIOExceptionIfSomeMetaPageIsMissing(opener ThrowingConsumer<PageCache,IOException>) : void extracted from public readHeaderMustThrowIOExceptionIfSomeMetaPageIsMissing() : void in class org.neo4j.index.internal.gbptree.GBPTreeTest | From | To | |
Extract Method private loadStatePages(pagedFile PagedFile) : Pair<TreeState,TreeState> extracted from private loadState(pagedFile PagedFile, headerReader Header.Reader) : void in class org.neo4j.index.internal.gbptree.GBPTree | From | To |