65f80bf6eb7725fc06ce744696ac6ed829797733
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Parameterize Variable | 15 | ||
Parameterize Variable swapperFactory : PageSwapperFactory to factory : PageSwapperFactory in method protected createSwapperAndFile(factory PageSwapperFactory, file File, filePageSize int) : PageSwapper in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method | 44 | ||
Extract Method protected createSwapperAndFile(factory PageSwapperFactory, file File, filePageSize int) : PageSwapper extracted from public vectoredWriteMustThrowWhenLengthGoesBeyondArraySize() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperAndFile(factory PageSwapperFactory, file File) : PageSwapper extracted from public mustReopenChannelWhenForceFailsWithAsynchronousCloseException() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperAndFile(factory PageSwapperFactory, file File) : PageSwapper extracted from public truncatedFilesMustBeEmpty() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperAndFile(factory PageSwapperFactory, file File) : PageSwapper extracted from public readMustNotReopenExplicitlyClosedChannel() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperAndFile(factory PageSwapperFactory, file File, filePageSize int) : PageSwapper extracted from public positionedVectoredReadWhereSecondLastPageExtendBeyondEndOfFileMustHaveRestZeroFilled() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperAndFile(factory PageSwapperFactory, file File) : PageSwapper extracted from public vectoredReadMustNotSwallowInterrupts() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperAndFile(factory PageSwapperFactory, file File, filePageSize int) : PageSwapper extracted from public readMustThrowForNegativeFilePageIds() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperAndFile(factory PageSwapperFactory, file File) : PageSwapper extracted from public writeMustNotReopenExplicitlyClosedChannel() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperAndFile(factory PageSwapperFactory, file File, filePageSize int) : PageSwapper extracted from public vectoredReadMustThrowWhenArrayOffsetIsGreaterThanArrayLength() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperAndFile(factory PageSwapperFactory, file File) : PageSwapper extracted from public writeMustNotSwallowInterrupts() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperAndFile(factory PageSwapperFactory, file File, filePageSize int) : PageSwapper extracted from public vectoredWriteMustThrowWhenArrayOffsetIsGreaterThanArrayLength() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperAndFile(factory PageSwapperFactory, file File, filePageSize int) : PageSwapper extracted from public positionedVectoredWriteMustWorkOnSubsequenceOfGivenArray() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperAndFile(factory PageSwapperFactory, file File, filePageSize int) : PageSwapper extracted from public vectoredReadMustReadNothingWhenLengthIsZero() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperAndFile(factory PageSwapperFactory, file File) : PageSwapper extracted from public vectoredReadMustNotReopenExplicitlyClosedChannel() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperAndFile(factory PageSwapperFactory, file File, filePageSize int) : PageSwapper extracted from public mustThrowNullPointerExceptionFromReadWhenPageArrayElementsAreNull() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperAndFile(factory PageSwapperFactory, file File, filePageSize int) : PageSwapper extracted from public mustThrowNullPointerExceptionFromWriteWhenPageArrayIsNull() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperAndFile(factory PageSwapperFactory, file File, filePageSize int) : PageSwapper extracted from public positionedVectoredReadMustWorkOnSubsequenceOfGivenArray() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperAndFile(factory PageSwapperFactory, file File) : PageSwapper extracted from public vectoredWriteMustNotReopenExplicitlyClosedChannel() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperAndFile(factory PageSwapperFactory, file File, filePageSize int) : PageSwapper extracted from public mustDeleteFileIfClosedWithCloseAndDelete() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperAndFile(factory PageSwapperFactory, file File) : PageSwapper extracted from public vectoredWriteMustNotSwallowInterrupts() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperAndFile(factory PageSwapperFactory, file File) : PageSwapper extracted from public mustReopenChannelWhenVectoredWriteFailsWithAsynchronousCloseException() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperAndFile(factory PageSwapperFactory, file File) : PageSwapper extracted from public mustReopenChannelWhenVectoredReadFailsWithAsynchronousCloseException() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperAndFile(factory PageSwapperFactory, file File, filePageSize int) : PageSwapper extracted from public vectoredWriteMustThrowForNegativeFilePageIds() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperAndFile(factory PageSwapperFactory, file File, filePageSize int) : PageSwapper extracted from public positionedVectoredReadWhereLastPageExtendBeyondEndOfFileMustHaveRemainderZeroFilled() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperAndFile(factory PageSwapperFactory, file File, filePageSize int) : PageSwapper extracted from public vectoredReadMustThrowForNegativeArrayOffsets() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperAndFile(factory PageSwapperFactory, file File, filePageSize int) : PageSwapper extracted from public vectoredWriteMustThrowForNegativeArrayOffsets() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperAndFile(factory PageSwapperFactory, file File, filePageSize int) : PageSwapper extracted from public mustThrowNullPointerExceptionFromWriteWhenPageArrayElementsAreNull() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperAndFile(factory PageSwapperFactory, file File, filePageSize int) : PageSwapper extracted from public vectoredReadMustThrowWhenLengthGoesBeyondArraySize() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperAndFile(factory PageSwapperFactory, file File, filePageSize int) : PageSwapper extracted from public concurrentPositionedVectoredReadsAndWritesMustNotInterfere() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperAndFile(factory PageSwapperFactory, file File, filePageSize int) : PageSwapper extracted from public vectoredWriteMustThrowWhenArrayOffsetIsEqualToArrayLength() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperAndFile(factory PageSwapperFactory, file File) : PageSwapper extracted from public forcingMustNotSwallowInterrupts() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperAndFile(factory PageSwapperFactory, file File) : PageSwapper extracted from public mustReopenChannelWhenWriteFailsWithAsynchronousCloseException() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperAndFile(factory PageSwapperFactory, file File) : PageSwapper extracted from public forceMustNotReopenExplicitlyClosedChannel() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperAndFile(factory PageSwapperFactory, file File) : PageSwapper extracted from public mustReopenChannelWhenReadFailsWithAsynchronousCloseException() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperAndFile(factory PageSwapperFactory, file File, filePageSize int) : PageSwapper extracted from public writeMustThrowForNegativeFilePageIds() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperAndFile(factory PageSwapperFactory, file File, filePageSize int) : PageSwapper extracted from public positionedVectoredReadBeyondEndOfFileMustFillPagesWithZeros() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperAndFile(factory PageSwapperFactory, file File) : PageSwapper extracted from public readMustNotSwallowInterrupts() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperAndFile(factory PageSwapperFactory, file File, filePageSize int) : PageSwapper extracted from public vectoredReadMustThrowWhenArrayOffsetIsEqualToArrayLength() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperAndFile(factory PageSwapperFactory, file File, filePageSize int) : PageSwapper extracted from public positionedVectoredReadMustFillAllBuffersInOrder() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperAndFile(factory PageSwapperFactory, file File, filePageSize int) : PageSwapper extracted from public vectoredWriteMustReadNothingWhenLengthIsZero() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperAndFile(factory PageSwapperFactory, file File, filePageSize int) : PageSwapper extracted from public vectoredReadMustThrowForNegativeFilePageIds() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperAndFile(factory PageSwapperFactory, file File, filePageSize int) : PageSwapper extracted from public positionedVectoredWriteMustFlushAllBuffersInOrder() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperAndFile(factory PageSwapperFactory, file File, filePageSize int) : PageSwapper extracted from public positionedVectoredReadFromEmptyFileMustFillPagesWithZeros() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperAndFile(factory PageSwapperFactory, file File, filePageSize int) : PageSwapper extracted from public mustThrowNullPointerExceptionFromReadWhenPageArrayIsNull() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Rename Parameter | 1 | ||
Rename Parameter swapperFactory : PageSwapperFactory to factory : PageSwapperFactory in method protected createSwapper(factory PageSwapperFactory, file File, filePageSize int, callback PageEvictionCallback, createIfNotExist boolean) : PageSwapper in class org.neo4j.io.pagecache.PageSwapperTest | From | To |