629eef1dd6d7aa6b30e5fce1eee503d1e0eadc10
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 20
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 2 | ||
Rename Variable txSnapshotSupplier : Supplier<KernelTransactionsSnapshot> to bufferingIdGeneratorFactory : BufferingIdGeneratorFactory in method private get(fs FileSystemAbstraction, pageCache PageCache, schemaIndexProvider SchemaIndexProvider, databaseHealth DatabaseHealth, storeDirectory File, transactionApplierTransformer Function<BatchTransactionApplierFacade,BatchTransactionApplierFacade>, monitors Monitors) : RecordStorageEngine in class org.neo4j.test.rule.RecordStorageEngineRule | From | To | |
Rename Variable idController : IdController to idGeneratorFactory : IdGeneratorFactory in method private getHighestUsedIdForRelationships() : long in class org.neo4j.graphdb.store.id.RelationshipIdReuseStressIT | From | To | |
Inline Method | 1 | ||
Inline Method private initialize(boundaries Supplier<KernelTransactionsSnapshot>, eligibleForReuse IdReuseEligibility) : void inlined to public BufferingIdGeneratorFactory(delegate IdGeneratorFactory, eligibleForReuse IdReuseEligibility, idTypeConfigurationProvider IdTypeConfigurationProvider) in class org.neo4j.kernel.impl.store.id.BufferingIdGeneratorFactory | From | To | |
Change Return Type | 2 | ||
Change Return Type ReplicatedIdGeneratorFactory to IdGeneratorFactory in method private createIdGeneratorFactory(fileSystem FileSystemAbstraction, idRangeAcquirer ReplicatedIdRangeAcquirer, logProvider LogProvider, idTypeConfigurationProvider IdTypeConfigurationProvider) : IdGeneratorFactory in class org.neo4j.causalclustering.core.state.machines.CoreStateMachinesModule | From | To | |
Change Return Type IdController to void in method private idMaintenanceOnLeader(leader CoreClusterMember) : void in class org.neo4j.causalclustering.scenarios.ClusterIdReuseIT | From | To | |
Move Attribute | 7 | ||
Move Attribute private freeIdCondition : BooleanSupplier from class org.neo4j.causalclustering.core.state.machines.id.ReplicatedIdGenerator to private freeIdCondition : BooleanSupplier from class org.neo4j.causalclustering.core.state.machines.id.FreeIdFilteredIdGenerator | From | To | |
Move Attribute private safeIdBuffering : boolean from class org.neo4j.kernel.impl.storageengine.impl.recordstorage.RecordStorageEngine to protected safeIdBuffering : boolean from class org.neo4j.kernel.impl.factory.EditionModule | From | To | |
Move Attribute private freeIdCondition : BooleanSupplier from class org.neo4j.causalclustering.core.state.machines.id.ReplicatedIdGeneratorFactory to public freeIdCondition : BooleanSupplier from class org.neo4j.causalclustering.core.state.machines.CoreStateMachinesModule | From | To | |
Move Attribute private freeIdCondition : BooleanSupplier from class org.neo4j.causalclustering.core.state.machines.id.ReplicatedIdGeneratorFactory to private freeIdCondition : BooleanSupplier from class org.neo4j.causalclustering.core.state.machines.id.FreeIdFilteredIdGeneratorFactory | From | To | |
Move Attribute private freeIdCondition : BooleanSupplier from class org.neo4j.causalclustering.core.state.machines.id.ReplicatedIdGenerator to public freeIdCondition : BooleanSupplier from class org.neo4j.causalclustering.core.state.machines.CoreStateMachinesModule | From | To | |
Move Attribute private freeIdCondition : BooleanSupplier from class org.neo4j.causalclustering.core.state.machines.id.ReplicatedIdGeneratorFactory to private freeIdCondition : BooleanSupplier from class org.neo4j.causalclustering.core.state.machines.id.FreeIdFilteredIdGenerator | From | To | |
Move Attribute private freeIdCondition : BooleanSupplier from class org.neo4j.causalclustering.core.state.machines.id.ReplicatedIdGenerator to private freeIdCondition : BooleanSupplier from class org.neo4j.causalclustering.core.state.machines.id.FreeIdFilteredIdGeneratorFactory | From | To | |
Change Variable Type | 2 | ||
Change Variable Type idController : IdController to idGeneratorFactory : IdGeneratorFactory in method private getHighestUsedIdForRelationships() : long in class org.neo4j.graphdb.store.id.RelationshipIdReuseStressIT | From | To | |
Change Variable Type txSnapshotSupplier : Supplier<KernelTransactionsSnapshot> to bufferingIdGeneratorFactory : BufferingIdGeneratorFactory in method private get(fs FileSystemAbstraction, pageCache PageCache, schemaIndexProvider SchemaIndexProvider, databaseHealth DatabaseHealth, storeDirectory File, transactionApplierTransformer Function<BatchTransactionApplierFacade,BatchTransactionApplierFacade>, monitors Monitors) : RecordStorageEngine in class org.neo4j.test.rule.RecordStorageEngineRule | From | To | |
Extract Method | 1 | ||
Extract Method private resolveDependency(leader CoreClusterMember, clazz Class<T>) : T extracted from private idMaintenanceOnLeader(leader CoreClusterMember) : IdController in class org.neo4j.causalclustering.scenarios.ClusterIdReuseIT | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type idGeneratorFactory : ReplicatedIdGeneratorFactory to idGeneratorFactory : IdGeneratorFactory in class org.neo4j.causalclustering.core.state.machines.CoreStateMachinesModule | From | To |