9b73e9b01d8dd50017a66724ea00f3ec4231ea23
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 2
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 16 | ||
Rename Variable lock : FileLock to ignore : FileLock in method public mustCloseFilesIfTakingFileLockThrows() : void in class org.neo4j.io.pagecache.impl.SingleFilePageSwapperTest | From | To | |
Rename Variable swapperFactory : PageSwapperFactory to factory : PageSwapperFactory in method protected createSwapperFactory() : PageSwapperFactory in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Change Variable Type | 1 | ||
Change Variable Type exception : IOException to exception : Exception in method public closeOpenedPageSwappers() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method | 67 | ||
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public streamFilesRecursiveRenameMustNotChangeSourceFileContentsWithReplaceExisting() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public streamFilesRecursiveMustListAllFilesInBaseDirectory() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public positionedVectoredReadWhereLastPageExtendBeyondEndOfFileMustHaveRemainderZeroFilled() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public writeMustNotSwallowInterrupts() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public forceMustNotReopenExplicitlyClosedChannel() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public streamFilesRecursiveMustNotSeeFilesRenamedIntoSubDirectory() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public positionedVectoredReadMustWorkOnSubsequenceOfGivenArray() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public vectoredReadMustReadNothingWhenLengthIsZero() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public positionedVectoredWriteMustFlushAllBuffersInOrder() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public readMustNotReopenExplicitlyClosedChannel() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public streamFilesRecursiveMustNotSeeFilesLaterCreatedBaseDirectory() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public forcingMustNotSwallowInterrupts() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public mustNotOverwriteDataInOtherFiles() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public vectoredReadMustThrowWhenArrayOffsetIsGreaterThanArrayLength() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public streamFilesRecursiveMustThrowWhenDeletingNonExistingFile() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public mustReopenChannelWhenReadFailsWithAsynchronousCloseException() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public streamFilesRecursiveMustRenameDelete() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public vectoredWriteMustThrowWhenArrayOffsetIsEqualToArrayLength() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public vectoredReadMustNotReopenExplicitlyClosedChannel() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public streamFilesRecursiveMustThrowOnNonExistingBasePath() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public streamFilesRecursiveMustThrowWhenTargetFileOfRenameAlreadyExists() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public streamFilesRecursiveSourceFileMustNotExistAfterRename() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public mustThrowNullPointerExceptionFromWriteWhenPageArrayElementsAreNull() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public mustThrowNullPointerExceptionFromReadWhenPageArrayElementsAreNull() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public streamFilesRecursiveFilePathsMustBeCanonical() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public vectoredWriteMustThrowForNegativeArrayOffsets() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public vectoredReadMustThrowForNegativeArrayOffsets() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public positionedVectoredReadWhereSecondLastPageExtendBeyondEndOfFileMustHaveRestZeroFilled() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public vectoredWriteMustNotReopenExplicitlyClosedChannel() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public positionedVectoredReadBeyondEndOfFileMustFillPagesWithZeros() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public positionedVectoredReadFromEmptyFileMustFillPagesWithZeros() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public streamFilesRecursiveMustNotThrowWhenTargetFileOfRenameAlreadyExistsAndUsingReplaceExisting() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public mustCreateNonExistingFileWithCreateFlag() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public vectoredReadMustThrowForNegativeFilePageIds() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public mustReopenChannelWhenForceFailsWithAsynchronousCloseException() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public mustThrowNullPointerExceptionFromReadWhenPageArrayIsNull() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public streamFilesRecursiveMustRenameFiles() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public vectoredWriteMustReadNothingWhenLengthIsZero() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public streamFilesRecursiveMustNotSeeFilesRenamedIntoBaseDirectory() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public streamFilesRecursiveMustCreateMissingPathDirectoriesImpliedByFileRename() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public positionedVectoredReadMustFillAllBuffersInOrder() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public streamFilesRecursiveRenameMustNotChangeSourceFileContents() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public positionedVectoredWriteMustWorkOnSubsequenceOfGivenArray() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public streamFilesRecursiveMustListSingleFileGivenAsBase() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public concurrentPositionedVectoredReadsAndWritesMustNotInterfere() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public mustThrowNullPointerExceptionFromWriteWhenPageArrayIsNull() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public mustReopenChannelWhenVectoredReadFailsWithAsynchronousCloseException() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public vectoredWriteMustNotSwallowInterrupts() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public mustReopenChannelWhenVectoredWriteFailsWithAsynchronousCloseException() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public mustDeleteFileIfClosedWithCloseAndDelete() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public vectoredWriteMustThrowWhenArrayOffsetIsGreaterThanArrayLength() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public truncatedFilesMustBeEmpty() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public writeMustThrowForNegativeFilePageIds() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public streamFilesRecursiveMustListAllFilesInSubDirectories() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public writeMustNotReopenExplicitlyClosedChannel() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public vectoredWriteMustThrowWhenLengthGoesBeyondArraySize() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public mustRunEvictionCallbackOnEviction() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public readMustNotSwallowInterrupts() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public mustNotIssueEvictionCallbacksAfterSwapperHasBeenClosed() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public mustReopenChannelWhenWriteFailsWithAsynchronousCloseException() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public mustThrowExceptionIfFileDoesNotExist() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public readMustThrowForNegativeFilePageIds() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public vectoredReadMustThrowWhenLengthGoesBeyondArraySize() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public vectoredWriteMustThrowForNegativeFilePageIds() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public streamFilesRecursiveMustBeEmptyForEmptyBaseDirectory() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public vectoredReadMustThrowWhenArrayOffsetIsEqualToArrayLength() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract Method protected createSwapperFactory() : PageSwapperFactory extracted from public vectoredReadMustNotSwallowInterrupts() : void in class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract And Move Method | 938 | ||
Extract And Move Method protected createSwapperFactory() : PageSwapperFactory extracted from public swappingInMustFillPageWithData() : void in class org.neo4j.io.pagecache.impl.SingleFilePageSwapperTest & moved to class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract And Move Method protected createSwapperFactory() : PageSwapperFactory extracted from public swappingOutMustWritePageToFile() : void in class org.neo4j.io.pagecache.impl.SingleFilePageSwapperTest & moved to class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract And Move Method protected createSwapperFactory() : PageSwapperFactory extracted from public swappingOutMustNotOverwriteDataBeyondPage() : void in class org.neo4j.io.pagecache.impl.SingleFilePageSwapperTest & moved to class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract And Move Method protected createSwapperFactory() : PageSwapperFactory extracted from public mustHandleMischiefInPositionedRead() : void in class org.neo4j.io.pagecache.impl.SingleFilePageSwapperTest & moved to class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract And Move Method protected createSwapperFactory() : PageSwapperFactory extracted from public mustHandleMischiefInPositionedWrite() : void in class org.neo4j.io.pagecache.impl.SingleFilePageSwapperTest & moved to class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract And Move Method protected createSwapperFactory() : PageSwapperFactory extracted from public creatingSwapperForExternallyLockedFileMustThrow() : void in class org.neo4j.io.pagecache.impl.SingleFilePageSwapperTest & moved to class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract And Move Method protected createSwapperFactory() : PageSwapperFactory extracted from public fileMustRemainLockedEvenIfChannelIsClosedByStrayInterrupt() : void in class org.neo4j.io.pagecache.impl.SingleFilePageSwapperTest & moved to class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract And Move Method protected createSwapperFactory() : PageSwapperFactory extracted from public creatingSwapperForInternallyLockedFileMustThrow() : void in class org.neo4j.io.pagecache.impl.SingleFilePageSwapperTest & moved to class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract And Move Method protected createSwapperFactory() : PageSwapperFactory extracted from public mustZeroFillPageBeyondEndOfFile() : void in class org.neo4j.io.pagecache.impl.SingleFilePageSwapperTest & moved to class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract And Move Method protected createSwapperFactory() : PageSwapperFactory extracted from public mustHandleMischiefInPositionedVectoredRead() : void in class org.neo4j.io.pagecache.impl.SingleFilePageSwapperTest & moved to class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract And Move Method protected createSwapperFactory() : PageSwapperFactory extracted from public mustUnlockFileWhenThePageSwapperIsClosed() : void in class org.neo4j.io.pagecache.impl.SingleFilePageSwapperTest & moved to class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract And Move Method protected createSwapperFactory() : PageSwapperFactory extracted from public mustHandleMischiefInPositionedVectoredWrite() : void in class org.neo4j.io.pagecache.impl.SingleFilePageSwapperTest & moved to class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract And Move Method protected createSwapperFactory() : PageSwapperFactory extracted from public creatingSwapperForFileMustTakeLockOnFile() : void in class org.neo4j.io.pagecache.impl.SingleFilePageSwapperTest & moved to class org.neo4j.io.pagecache.PageSwapperTest | From | To | |
Extract And Move Method protected createSwapperFactory() : PageSwapperFactory extracted from public mustCloseFilesIfTakingFileLockThrows() : void in class org.neo4j.io.pagecache.impl.SingleFilePageSwapperTest & moved to class org.neo4j.io.pagecache.PageSwapperTest | From | To |