b6d3e9bdad7128a5d109c267f64c7770dce29eb1
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 96
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type filename : File to databaseName : String in method public open(databaseName String, file File, idType IdType, highId LongSupplier, maxId long) : IdGenerator in class org.neo4j.causalclustering.core.state.machines.id.ReplicatedIdGeneratorFactory | From | To | |
Parameterize Variable | 18 | ||
Parameterize Variable rangeAcquirer : ReplicatedIdRangeAcquirer to replicatedIdRangeAcquirer : ReplicatedIdRangeAcquirer in method private getReplicatedIdGenerator(grabSize int, l long, replicatedIdRangeAcquirer ReplicatedIdRangeAcquirer) : ReplicatedIdGenerator in class org.neo4j.causalclustering.core.state.machines.id.ReplicatedIdGeneratorTest | From | To | |
Parameterize Variable burnedIds : long to l : long in method private getReplicatedIdGenerator(grabSize int, l long, replicatedIdRangeAcquirer ReplicatedIdRangeAcquirer) : ReplicatedIdGenerator in class org.neo4j.causalclustering.core.state.machines.id.ReplicatedIdGeneratorTest | From | To | |
Parameterize Variable databaseDirectory : File to databaseDir : File in method private getStoreFactory(config Config, databaseDir File, ephemeralFileSystemAbstraction FileSystemAbstraction, instance NullLogProvider) : StoreFactory in class org.neo4j.kernel.impl.store.NeoStoresTest | From | To | |
Parameterize Variable defaults : Config to config : Config in method private getStoreFactory(config Config, databaseDir File, ephemeralFileSystemAbstraction FileSystemAbstraction, instance NullLogProvider) : StoreFactory in class org.neo4j.kernel.impl.store.NeoStoresTest | From | To | |
Parameterize Variable fileSystem : FileSystemAbstraction to ephemeralFileSystemAbstraction : FileSystemAbstraction in method private getStoreFactory(config Config, databaseDir File, ephemeralFileSystemAbstraction FileSystemAbstraction, instance NullLogProvider) : StoreFactory in class org.neo4j.kernel.impl.store.NeoStoresTest | From | To | |
Extract Method | 18 | ||
Extract Method private getReplicatedIdGenerator(grabSize int, l long, replicatedIdRangeAcquirer ReplicatedIdRangeAcquirer) : ReplicatedIdGenerator extracted from protected openIdGenerator(grabSize int) : IdGenerator in class org.neo4j.causalclustering.core.state.machines.id.ReplicatedIdGeneratorTest | From | To | |
Extract Method private getReplicatedIdGenerator(grabSize int, l long, replicatedIdRangeAcquirer ReplicatedIdRangeAcquirer) : ReplicatedIdGenerator extracted from public shouldNotStepBeyondAllocationBoundaryWithoutBurnedId() : void in class org.neo4j.causalclustering.core.state.machines.id.ReplicatedIdGeneratorTest | From | To | |
Extract Method private getReplicatedIdGenerator(grabSize int, l long, replicatedIdRangeAcquirer ReplicatedIdRangeAcquirer) : ReplicatedIdGenerator extracted from public freeIdOnlyWhenReusabilityConditionAllows() : void in class org.neo4j.causalclustering.core.state.machines.id.ReplicatedIdGeneratorTest | From | To | |
Extract Method private getStoreFactory(config Config, databaseDir File, ephemeralFileSystemAbstraction FileSystemAbstraction, instance NullLogProvider) : StoreFactory extracted from public setVersion() : void in class org.neo4j.kernel.impl.store.NeoStoresTest | From | To | |
Extract Method private getStoreFactory(config Config, databaseDir File, ephemeralFileSystemAbstraction FileSystemAbstraction, instance NullLogProvider) : StoreFactory extracted from public shouldNotSetHighestTransactionIdWhenNeeded() : void in class org.neo4j.kernel.impl.store.NeoStoresTest | From | To | |
Extract Method private getStoreFactory(config Config, databaseDir File, ephemeralFileSystemAbstraction FileSystemAbstraction, instance NullLogProvider) : StoreFactory extracted from public shouldThrowUnderlyingStorageExceptionWhenFailingToLoadStorage() : void in class org.neo4j.kernel.impl.store.NeoStoresTest | From | To | |
Extract Method private getStoreFactory(config Config, databaseDir File, ephemeralFileSystemAbstraction FileSystemAbstraction, instance NullLogProvider) : StoreFactory extracted from public shouldCloseAllTheStoreEvenIfExceptionsAreThrown() : void in class org.neo4j.kernel.impl.store.NeoStoresTest | From | To | |
Extract Method private getStoreFactory(config Config, databaseDir File, ephemeralFileSystemAbstraction FileSystemAbstraction, instance NullLogProvider) : StoreFactory extracted from public impossibleToGetNotRequestedStore() : void in class org.neo4j.kernel.impl.store.NeoStoresTest | From | To | |
Extract Method private getReplicatedIdGenerator(grabSize int, l long, replicatedIdRangeAcquirer ReplicatedIdRangeAcquirer) : ReplicatedIdGenerator extracted from public shouldReuseIdOnlyWhenLeader() : void in class org.neo4j.causalclustering.core.state.machines.id.ReplicatedIdGeneratorTest | From | To | |
Extract Method private getReplicatedIdGenerator(grabSize int, l long, replicatedIdRangeAcquirer ReplicatedIdRangeAcquirer) : ReplicatedIdGenerator extracted from public shouldThrowIfAdjustmentFailsDueToInconsistentValues() : void in class org.neo4j.causalclustering.core.state.machines.id.ReplicatedIdGeneratorTest | From | To | |
Extract Method private getStoreFactory(config Config, databaseDir File, ephemeralFileSystemAbstraction FileSystemAbstraction, instance NullLogProvider) : StoreFactory extracted from public setUpNeoStores() : void in class org.neo4j.kernel.impl.store.NeoStoresTest | From | To | |
Extract Method private getStoreFactory(config Config, databaseDir File, ephemeralFileSystemAbstraction FileSystemAbstraction, instance NullLogProvider) : StoreFactory extracted from public notAllowCreateDynamicStoreWithNegativeBlockSize() : void in class org.neo4j.kernel.impl.store.NeoStoresTest | From | To | |
Extract Method private getStoreFactory(config Config, databaseDir File, ephemeralFileSystemAbstraction FileSystemAbstraction, instance NullLogProvider) : StoreFactory extracted from public shouldInitializeTheTxIdToOne() : void in class org.neo4j.kernel.impl.store.NeoStoresTest | From | To | |
Extract Method private getReplicatedIdGenerator(grabSize int, l long, replicatedIdRangeAcquirer ReplicatedIdRangeAcquirer) : ReplicatedIdGenerator extracted from public shouldCreateIdFileForPersistence() : void in class org.neo4j.causalclustering.core.state.machines.id.ReplicatedIdGeneratorTest | From | To | |
Extract Method private getStoreFactory(config Config, databaseDir File, ephemeralFileSystemAbstraction FileSystemAbstraction, instance NullLogProvider) : StoreFactory extracted from public impossibleToGetStoreFromClosedNeoStoresContainer() : void in class org.neo4j.kernel.impl.store.NeoStoresTest | From | To | |
Extract Method private getReplicatedIdGenerator(grabSize int, l long, replicatedIdRangeAcquirer ReplicatedIdRangeAcquirer) : ReplicatedIdGenerator extracted from public shouldReuseIdBeforeHighId() : void in class org.neo4j.causalclustering.core.state.machines.id.ReplicatedIdGeneratorTest | From | To | |
Extract Method private getReplicatedIdGenerator(grabSize int, l long, replicatedIdRangeAcquirer ReplicatedIdRangeAcquirer) : ReplicatedIdGenerator extracted from public shouldNotStepBeyondAllocationBoundaryWithBurnedId() : void in class org.neo4j.causalclustering.core.state.machines.id.ReplicatedIdGeneratorTest | From | To | |
Extract Method private getStoreFactory(config Config, databaseDir File, ephemeralFileSystemAbstraction FileSystemAbstraction, instance NullLogProvider) : StoreFactory extracted from public shouldSetHighestTransactionIdWhenNeeded() : void in class org.neo4j.kernel.impl.store.NeoStoresTest | From | To | |
Rename Parameter | 2 | ||
Rename Parameter filename : File to databaseName : String in method public open(databaseName String, file File, idType IdType, highId LongSupplier, maxId long) : IdGenerator in class org.neo4j.causalclustering.core.state.machines.id.ReplicatedIdGeneratorFactory | From | To | |
Rename Parameter filename : File to file : File in method public open(databaseName String, file File, idType IdType, highId LongSupplier, maxId long) : IdGenerator in class org.neo4j.causalclustering.core.state.machines.id.ReplicatedIdGeneratorFactory | From | To |