1b1ae7c7ba5a172c4ae8b40d27f8eb04b3fd79a1
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 8
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Push Down Method | 2 | ||
Push Down Method private assertOpen() : void from class org.neo4j.kernel.impl.index.schema.fusion.InstanceSelector to private assertOpen() : void from class org.neo4j.kernel.impl.index.schema.fusion.LazyInstanceSelector | From | To | |
Push Down Method package getIfInstantiated(slot int) : T from class org.neo4j.kernel.impl.index.schema.fusion.InstanceSelector to package getIfInstantiated(slot int) : T from class org.neo4j.kernel.impl.index.schema.fusion.LazyInstanceSelector | From | To | |
Move And Rename Method | 1 | ||
Move And Rename Method public shouldPerformActionOnInstantiated() : void from class org.neo4j.kernel.impl.index.schema.fusion.InstanceSelectorTest to public shouldCloseAllInstantiated() : void from class org.neo4j.kernel.impl.index.schema.fusion.LazyInstanceSelectorTest | From | To | |
Extract Subclass | 1 | ||
Extract Subclass org.neo4j.kernel.impl.index.schema.fusion.LazyInstanceSelector from class org.neo4j.kernel.impl.index.schema.fusion.InstanceSelector | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type instanceSelector : InstanceSelector<IndexUpdater> to instanceSelector : LazyInstanceSelector<IndexUpdater> in method package FusionIndexUpdater(slotSelector SlotSelector, instanceSelector LazyInstanceSelector<IndexUpdater>) in class org.neo4j.kernel.impl.index.schema.fusion.FusionIndexUpdater | From | To | |
Change Parameter Type instanceSelector : InstanceSelector<IndexReader> to instanceSelector : LazyInstanceSelector<IndexReader> in method package FusionIndexReader(slotSelector SlotSelector, instanceSelector LazyInstanceSelector<IndexReader>, descriptor SchemaIndexDescriptor) in class org.neo4j.kernel.impl.index.schema.fusion.FusionIndexReader | From | To | |
Move Method | 4 | ||
Move Method public shouldPreventInstantiationAfterClose() : void from class org.neo4j.kernel.impl.index.schema.fusion.InstanceSelectorTest to public shouldPreventInstantiationAfterClose() : void from class org.neo4j.kernel.impl.index.schema.fusion.LazyInstanceSelectorTest | From | To | |
Move Method public shouldInstantiateLazilyOnFirstSelect() : void from class org.neo4j.kernel.impl.index.schema.fusion.InstanceSelectorTest to public shouldInstantiateLazilyOnFirstSelect() : void from class org.neo4j.kernel.impl.index.schema.fusion.LazyInstanceSelectorTest | From | To | |
Move Method public shouldPerformActionOnAll() : void from class org.neo4j.kernel.impl.index.schema.fusion.InstanceSelectorTest to public shouldPerformActionOnAll() : void from class org.neo4j.kernel.impl.index.schema.fusion.LazyInstanceSelectorTest | From | To | |
Move Method public shouldCloseAllInstantiated() : void from class org.neo4j.kernel.impl.index.schema.fusion.InstanceSelectorTest to public shouldCloseAllInstantiated() : void from class org.neo4j.kernel.impl.index.schema.fusion.LazyInstanceSelectorTest | From | To | |
Push Down Attribute | 1 | ||
Push Down Attribute private factory : IntFunction<T> from class org.neo4j.kernel.impl.index.schema.fusion.InstanceSelector to private factory : IntFunction<T> from class org.neo4j.kernel.impl.index.schema.fusion.LazyInstanceSelector | From | To | |
Extract Class | 1 | ||
Extract Class org.neo4j.kernel.impl.index.schema.fusion.LazyInstanceSelectorTest from class org.neo4j.kernel.impl.index.schema.fusion.InstanceSelectorTest | From | To | |
Change Variable Type | 4 | ||
Change Variable Type updaterSelector : InstanceSelector<IndexUpdater> to updaterSelector : LazyInstanceSelector<IndexUpdater> in method public newUpdater(mode IndexUpdateMode) : IndexUpdater in class org.neo4j.kernel.impl.index.schema.fusion.FusionIndexAccessor | From | To | |
Change Variable Type batchSelector : InstanceSelector<Collection<IndexEntryUpdate<?>>> to batchSelector : LazyInstanceSelector<Collection<IndexEntryUpdate<?>>> in method public add(updates Collection<? extends IndexEntryUpdate<?>>) : void in class org.neo4j.kernel.impl.index.schema.fusion.FusionIndexPopulator | From | To | |
Change Variable Type readerSelector : InstanceSelector<IndexReader> to readerSelector : LazyInstanceSelector<IndexReader> in method public newReader() : IndexReader in class org.neo4j.kernel.impl.index.schema.fusion.FusionIndexAccessor | From | To | |
Change Variable Type updaterSelector : InstanceSelector<IndexUpdater> to updaterSelector : LazyInstanceSelector<IndexUpdater> in method public newPopulatingUpdater(accessor PropertyAccessor) : IndexUpdater in class org.neo4j.kernel.impl.index.schema.fusion.FusionIndexPopulator | From | To |