ff082ee9826f09b241933ab2ea6c1905370fac12
Files Diff
- Added: 4
- Removed: 0
- Renamed: 0
- Modified: 10
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 4 | ||
Rename Method public calculateMemoryUsage(numberOfNodes long) : long renamed to public memoryEstimation(numberOfNodes long) : MemoryStatsVisitor.Visitable in class org.neo4j.unsafe.impl.batchimport.cache.idmapping.IdMappers.ActualIdMapper | From | To | |
Rename Method public calculateMemoryUsage(numberOfNodes long) : long renamed to public memoryEstimation(numberOfNodes long) : MemoryStatsVisitor.Visitable in class org.neo4j.unsafe.impl.batchimport.cache.idmapping.IdMapper | From | To | |
Rename Method public calculateMemoryUsage(numberOfNodes long) : long renamed to public acceptMemoryStatsVisitor(visitor MemoryStatsVisitor) : void in class org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.EncodingIdMapper.memoryEstimation | From | To | |
Rename Method public calculateMemoryUsage(numberOfNodes long) : long renamed to public acceptMemoryStatsVisitor(visitor MemoryStatsVisitor) : void in class org.neo4j.unsafe.impl.batchimport.cache.NodeRelationshipCache.memoryEstimation | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type numberOfNodes : long to visitor : MemoryStatsVisitor in method public acceptMemoryStatsVisitor(visitor MemoryStatsVisitor) : void in class org.neo4j.unsafe.impl.batchimport.cache.NodeRelationshipCache.memoryEstimation | From | To | |
Change Parameter Type numberOfNodes : long to visitor : MemoryStatsVisitor in method public acceptMemoryStatsVisitor(visitor MemoryStatsVisitor) : void in class org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.EncodingIdMapper.memoryEstimation | From | To | |
Move Method | 1 | ||
Move Method private defensivelyPadMemoryEstimate(bytes long) : long from class org.neo4j.unsafe.impl.batchimport.staging.HumanUnderstandableExecutionMonitor to public defensivelyPadMemoryEstimate(bytes long) : long from class org.neo4j.unsafe.impl.batchimport.ImportMemoryCalculator | From | To | |
Inline Method | 2 | ||
Inline Method private sanityCheckEstimatesWithRecordFormat(inputEstimates Estimates) : void inlined to public initialize(input Input) : void in class org.neo4j.unsafe.impl.batchimport.ImportLogic | From | To | |
Change Return Type | 4 | ||
Change Return Type long to void in method public acceptMemoryStatsVisitor(visitor MemoryStatsVisitor) : void in class org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.EncodingIdMapper.memoryEstimation | From | To | |
Change Return Type long to MemoryStatsVisitor.Visitable in method public memoryEstimation(numberOfNodes long) : MemoryStatsVisitor.Visitable in class org.neo4j.unsafe.impl.batchimport.cache.idmapping.IdMappers.ActualIdMapper | From | To | |
Change Return Type long to void in method public acceptMemoryStatsVisitor(visitor MemoryStatsVisitor) : void in class org.neo4j.unsafe.impl.batchimport.cache.NodeRelationshipCache.memoryEstimation | From | To | |
Change Return Type long to MemoryStatsVisitor.Visitable in method public memoryEstimation(numberOfNodes long) : MemoryStatsVisitor.Visitable in class org.neo4j.unsafe.impl.batchimport.cache.idmapping.IdMapper | From | To | |
Rename Parameter | 2 | ||
Rename Parameter numberOfNodes : long to visitor : MemoryStatsVisitor in method public acceptMemoryStatsVisitor(visitor MemoryStatsVisitor) : void in class org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.EncodingIdMapper.memoryEstimation | From | To | |
Rename Parameter numberOfNodes : long to visitor : MemoryStatsVisitor in method public acceptMemoryStatsVisitor(visitor MemoryStatsVisitor) : void in class org.neo4j.unsafe.impl.batchimport.cache.NodeRelationshipCache.memoryEstimation | From | To |