cc2e843c004944469466024083cccbc7fbaecfc9
Files Diff
- Added: 6
- Removed: 1
- Renamed: 0
- Modified: 32
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Pull Up Method | 3 | ||
| Pull Up Method public keys() : Key[] from class org.neo4j.unsafe.impl.batchimport.staging.IteratorBatcherStep to public keys() : Key[] from class org.neo4j.unsafe.impl.batchimport.staging.IoProducerStep | From | To | |
| Pull Up Method protected addStatsProviders(providers Collection<StatsProvider>) : void from class org.neo4j.unsafe.impl.batchimport.staging.IteratorBatcherStep to protected addStatsProviders(providers Collection<StatsProvider>) : void from class org.neo4j.unsafe.impl.batchimport.staging.IoProducerStep | From | To | |
| Pull Up Method public stat(key Key) : Stat from class org.neo4j.unsafe.impl.batchimport.staging.IteratorBatcherStep to public stat(key Key) : Stat from class org.neo4j.unsafe.impl.batchimport.staging.IoProducerStep | From | To | |
| Rename Variable | 2 | ||
| Rename Variable next : T to batch : Object in method protected process() : void in class org.neo4j.unsafe.impl.batchimport.staging.ProducerStep | From | To | |
| Rename Variable updater : CountsAccessor.Updater to countsUpdater : CountsAccessor.Updater in method public done() : void in class org.neo4j.unsafe.impl.batchimport.RelationshipCountsProcessor | From | To | |
| Change Return Type | 2 | ||
| Change Return Type CountsRecordState to void in method public computeCounts(api GraphDatabaseAPI) : void in class org.neo4j.kernel.impl.store.CountsComputer | From | To | |
| Change Return Type CountsRecordState to void in method public computeCounts(stores NeoStore) : void in class org.neo4j.kernel.impl.store.CountsComputer | From | To | |
| Push Down Attribute | 1 | ||
| Push Down Attribute private itemClass : Class<T> from class org.neo4j.unsafe.impl.batchimport.staging.ProducerStep to private itemClass : Class<T> from class org.neo4j.unsafe.impl.batchimport.staging.IteratorBatcherStep | From | To | |
| Move And Rename Class | 1 | ||
| Move And Rename Class org.neo4j.unsafe.impl.batchimport.staging.AbstractExecutionMonitor moved and renamed to org.neo4j.unsafe.impl.batchimport.staging.ExecutionMonitor.Adpter | From | To | |
| Extract Superclass | 1 | ||
| Extract Superclass org.neo4j.unsafe.impl.batchimport.staging.IoProducerStep from classes [org.neo4j.unsafe.impl.batchimport.staging.IteratorBatcherStep] | From | To | |
| Rename Attribute | 1 | ||
| Rename Attribute executionPoller : ExecutionSupervisor to executionMonitor : ExecutionMonitor in class org.neo4j.unsafe.impl.batchimport.ParallelBatchImporter | From | To | |
| Split Parameter | 1 | ||
| Split Parameter record : RelationshipRecord to [startNode : long, endNode : long, type : int] in method public process(startNode long, type int, endNode long) : void in class org.neo4j.unsafe.impl.batchimport.RelationshipCountsProcessor | From | To | |
| Change Variable Type | 2 | ||
| Change Variable Type relationshipCountsProcessor : StoreProcessor<RelationshipRecord> to relationshipCountsProcessor : RelationshipCountsProcessor in method public doImport(input Input) : void in class org.neo4j.unsafe.impl.batchimport.ParallelBatchImporter | From | To | |
| Change Variable Type next : T to batch : Object in method protected process() : void in class org.neo4j.unsafe.impl.batchimport.staging.ProducerStep | From | To | |
| Extract Method | 7 | ||
| Extract Method private rebuildCounts(lastCommittedTransactionId long) : void extracted from public shouldCreateAnEmptyCountsStoreFromAnEmptyDatabase() : void in class org.neo4j.kernel.impl.store.counts.CountsComputerTest | From | To | |
| Extract Method private rebuildCounts(lastCommittedTransactionId long) : void extracted from public shouldCreateACountsStoreWhenThereAreUnusedRelationshipRecordsInTheDB() : void in class org.neo4j.kernel.impl.store.counts.CountsComputerTest | From | To | |
| Extract Method private rebuildCounts(lastCommittedTransactionId long) : void extracted from public shouldCreateACountsStoreWhenThereAreNodesAndRelationshipsInTheDB() : void in class org.neo4j.kernel.impl.store.counts.CountsComputerTest | From | To | |
| Extract Method private rebuildCounts(lastCommittedTransactionId long) : void extracted from public shouldCreateACountsStoreWhenThereAreUnusedNodeRecordsInTheDB() : void in class org.neo4j.kernel.impl.store.counts.CountsComputerTest | From | To | |
| Extract Method private rebuildCounts(lastCommittedTransactionId long) : void extracted from public shouldCreateACountStoreWhenDBContainsDenseNodes() : void in class org.neo4j.kernel.impl.store.counts.CountsComputerTest | From | To | |
| Extract Method public process(startNode long, type int, endNode long) : void extracted from public process(record RelationshipRecord) : boolean in class org.neo4j.unsafe.impl.batchimport.RelationshipCountsProcessor | From | To | |
| Extract Method private rebuildCounts(lastCommittedTransactionId long) : void extracted from public shouldCreateACountsStoreWhenThereAreNodesInTheDB() : void in class org.neo4j.kernel.impl.store.counts.CountsComputerTest | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type executionPoller : ExecutionSupervisor to executionMonitor : ExecutionMonitor in class org.neo4j.unsafe.impl.batchimport.ParallelBatchImporter | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter nothing : Void to batch : Void in method public receive(ticket long, batch Void) : long in class org.neo4j.unsafe.impl.batchimport.staging.ProducerStep | From | To |