0f2199d9e11c14d0d504e11dc9a7521e4b496ca5
Files Diff
- Added: 5
- Removed: 1
- Renamed: 0
- Modified: 65
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move Method | 4 | ||
Move Method public versions() : Collection<Object[]> from class org.neo4j.kernel.impl.storemigration.StoreMigratorTest to public versions() : Collection<Object[]> from class org.neo4j.kernel.impl.storemigration.StoreMigratorIT | From | To | |
Move Method public shouldBeAbleToResumeMigrationOnRebuildingCounts() : void from class org.neo4j.kernel.impl.storemigration.StoreMigratorTest to public shouldBeAbleToResumeMigrationOnRebuildingCounts() : void from class org.neo4j.kernel.impl.storemigration.StoreMigratorIT | From | To | |
Move Method public shouldBeAbleToResumeMigrationOnMoving() : void from class org.neo4j.kernel.impl.storemigration.StoreMigratorTest to public shouldBeAbleToResumeMigrationOnMoving() : void from class org.neo4j.kernel.impl.storemigration.StoreMigratorIT | From | To | |
Move Method public shouldComputeTheLastTxLogPositionCorrectly() : void from class org.neo4j.kernel.impl.storemigration.StoreMigratorTest to public shouldComputeTheLastTxLogPositionCorrectly() : void from class org.neo4j.kernel.impl.storemigration.StoreMigratorIT | From | To | |
Move Attribute | 3 | ||
Move Attribute public version : String from class org.neo4j.kernel.impl.storemigration.StoreMigratorTest to public version : String from class org.neo4j.kernel.impl.storemigration.StoreMigratorIT | From | To | |
Move Attribute private schemaIndexProvider : SchemaIndexProvider from class org.neo4j.kernel.impl.storemigration.StoreMigratorTest to private schemaIndexProvider : SchemaIndexProvider from class org.neo4j.kernel.impl.storemigration.StoreMigratorIT | From | To | |
Move Attribute public expectedLogPosition : LogPosition from class org.neo4j.kernel.impl.storemigration.StoreMigratorTest to public expectedLogPosition : LogPosition from class org.neo4j.kernel.impl.storemigration.StoreMigratorIT | From | To | |
Extract Class | 1 | ||
Extract Class org.neo4j.kernel.impl.storemigration.StoreMigratorIT from class org.neo4j.kernel.impl.storemigration.StoreMigratorTest | From | To | |
Move Class | 1 | ||
Move Class org.neo4j.kernel.IdReuseEligibility moved to org.neo4j.kernel.impl.store.id.IdReuseEligibility | From | To | |
Extract Variable | 1 | ||
Extract Variable metaDataStore : MetaDataStore in method private newKernelTransactions(commitProcess TransactionCommitProcess, contextSupplier NeoStoreTransactionContextFactory) : KernelTransactions from class org.neo4j.kernel.impl.api.KernelTransactionsTest | From | To | |
Change Variable Type | 1 | ||
Change Variable Type lastTxChecksum : long to lastTxInfo : TransactionId in method public migrate(storeDir File, migrationDir File, schemaIndexProvider SchemaIndexProvider, versionToMigrateFrom String) : void in class org.neo4j.kernel.impl.storemigration.StoreMigrator | From | To | |
Extract Method | 1 | ||
Extract Method private getRecordValue(cursor PageCursor, position Position, defaultValue long) : long extracted from private getRecordValue(cursor PageCursor, position Position) : long in class org.neo4j.kernel.impl.store.MetaDataStore | From | To | |
Rename Method | 3 | ||
Rename Method private lastTxChecksumFile(migrationDir File) : File renamed to private lastTxInformationFile(migrationDir File) : File in class org.neo4j.kernel.impl.storemigration.StoreMigrator | From | To | |
Rename Method private setUpIndexUpdatesValidatorMocking() : IndexUpdatesValidator renamed to private mockedIndexUpdatesValidator() : IndexUpdatesValidator in class org.neo4j.com.storecopy.TransactionCommittingResponseUnpackerTest | From | To | |
Rename Method public getTransactionChecksum(storeDir File, transactionId long) : long renamed to public getTransactionInformation(storeDir File, transactionId long) : TransactionId in class org.neo4j.kernel.impl.storemigration.legacylogs.LegacyLogs | From | To | |
Rename Variable | 1 | ||
Rename Variable lastTxChecksum : long to lastTxInfo : TransactionId in method public migrate(storeDir File, migrationDir File, schemaIndexProvider SchemaIndexProvider, versionToMigrateFrom String) : void in class org.neo4j.kernel.impl.storemigration.StoreMigrator | From | To | |
Change Return Type | 3 | ||
Change Return Type boolean to Status in method public shouldBeTerminated() : Status in class org.neo4j.kernel.impl.api.KernelTransactionImplementation | From | To | |
Change Return Type long to TransactionId in method public getTransactionInformation(storeDir File, transactionId long) : TransactionId in class org.neo4j.kernel.impl.storemigration.legacylogs.LegacyLogs | From | To | |
Change Return Type boolean to Status in method public shouldBeTerminated() : Status in class org.neo4j.kernel.api.KernelTransaction | From | To | |
Rename Attribute | 1 | ||
Rename Attribute eligibleForReuse : IdReuseEligibility to idReuseEligibility : IdReuseEligibility in class org.neo4j.kernel.NeoStoreDataSource | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type directory : TestDirectory to directory : TargetDirectory.TestDirectory in class org.neo4j.kernel.impl.storemigration.StoreMigratorTest | From | To | |
Rename Parameter | 1 | ||
Rename Parameter eligibleForReuse : IdReuseEligibility to idReuseEligibility : IdReuseEligibility in method public NeoStoreDataSource(storeDir File, config Config, sf StoreFactory, logProvider LogProvider, scheduler JobScheduler, tokenNameLookup TokenNameLookup, dependencyResolver DependencyResolver, propertyKeyTokens PropertyKeyTokenHolder, labelTokens LabelTokenHolder, relationshipTypeTokens RelationshipTypeTokenHolder, lockManager Locks, schemaWriteGuard SchemaWriteGuard, transactionEventHandlers TransactionEventHandlers, indexingServiceMonitor IndexingService.Monitor, fs FileSystemAbstraction, storeMigrationProcess StoreUpgrader, transactionMonitor TransactionMonitor, kernelHealth KernelHealth, physicalLogMonitor PhysicalLogFile.Monitor, transactionHeaderInformationFactory TransactionHeaderInformationFactory, startupStatistics StartupStatisticsProvider, nodeManager NodeManager, guard Guard, indexConfigStore IndexConfigStore, commitProcessFactory CommitProcessFactory, pageCache PageCache, constraintSemantics ConstraintSemantics, monitors Monitors, tracers Tracers, idGeneratorFactory IdGeneratorFactory, idReuseEligibility IdReuseEligibility) in class org.neo4j.kernel.NeoStoreDataSource | From | To |