9ce5e88624e87f2cd92cd7fef4f8b5445d08f998
Files Diff
- Added: 3
- Removed: 1
- Renamed: 0
- Modified: 9
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 7 | ||
Rename Method public isCallbackOrderAsc() : boolean renamed to public isReverseCallbackOrder() : boolean in class org.axonframework.messaging.unitofwork.UnitOfWork.Phase | From | To | |
Rename Method public addRollbackListener(handler BiConsumer<UnitOfWork,Throwable>) : void renamed to public addRollbackHandler(handler BiConsumer<UnitOfWork,Throwable>) : void in class org.axonframework.messaging.unitofwork.UnitOfWorkHandlerCollection | From | To | |
Rename Method public invokeListeners(unitOfWork UnitOfWork, phaseConsumer Consumer<UnitOfWork.Phase>, phases UnitOfWork.Phase...) : void renamed to public invokeHandlers(unitOfWork UnitOfWork, phaseConsumer Consumer<Phase>, phases Phase...) : void in class org.axonframework.messaging.unitofwork.UnitOfWorkHandlerCollection | From | To | |
Rename Method public unpauze() : void renamed to public resume() : void in class org.axonframework.commandhandling.disruptor.DisruptorUnitOfWork | From | To | |
Rename Method public addListener(phase UnitOfWork.Phase, handler Consumer<UnitOfWork>) : void renamed to public addHandler(phase Phase, handler Consumer<UnitOfWork>) : void in class org.axonframework.messaging.unitofwork.UnitOfWorkHandlerCollection | From | To | |
Rename Method protected listeners() : UnitOfWorkListenerCollection renamed to protected handlers() : UnitOfWorkHandlerCollection in class org.axonframework.messaging.unitofwork.AbstractUnitOfWork | From | To | |
Rename Method public createUnitOfWork(message Message<?>) : UnitOfWork renamed to public doCreateUnitOfWork(message Message<?>) : DefaultUnitOfWork in class org.axonframework.messaging.unitofwork.DefaultUnitOfWorkFactory | From | To | |
Change Parameter Type | 4 | ||
Change Parameter Type phases : UnitOfWork.Phase... to phases : Phase... in method public invokeHandlers(unitOfWork UnitOfWork, phaseConsumer Consumer<Phase>, phases Phase...) : void in class org.axonframework.messaging.unitofwork.UnitOfWorkHandlerCollection | From | To | |
Change Parameter Type phaseConsumer : Consumer<UnitOfWork.Phase> to phaseConsumer : Consumer<Phase> in method public invokeHandlers(unitOfWork UnitOfWork, phaseConsumer Consumer<Phase>, phases Phase...) : void in class org.axonframework.messaging.unitofwork.UnitOfWorkHandlerCollection | From | To | |
Change Parameter Type phase : UnitOfWork.Phase to phase : Phase in method public addHandler(phase Phase, handler Consumer<UnitOfWork>) : void in class org.axonframework.messaging.unitofwork.UnitOfWorkHandlerCollection | From | To | |
Change Parameter Type phaseConsumer : Consumer<UnitOfWork.Phase> to phaseConsumer : Consumer<Phase> in method public invokeRollbackListeners(unitOfWork UnitOfWork, e Throwable, phaseConsumer Consumer<Phase>) : void in class org.axonframework.messaging.unitofwork.UnitOfWorkHandlerCollection | From | To | |
Change Return Type | 4 | ||
Change Return Type UnitOfWork to DefaultUnitOfWork in method public doCreateUnitOfWork(message Message<?>) : DefaultUnitOfWork in class org.axonframework.messaging.unitofwork.DefaultUnitOfWorkFactory | From | To | |
Change Return Type UnitOfWorkListenerCollection to UnitOfWorkHandlerCollection in method protected handlers() : UnitOfWorkHandlerCollection in class org.axonframework.messaging.unitofwork.AbstractUnitOfWork | From | To | |
Change Return Type UnitOfWork to DefaultUnitOfWork in method public startAndGet(message Message<?>) : DefaultUnitOfWork in class org.axonframework.messaging.unitofwork.DefaultUnitOfWork | From | To | |
Change Return Type UnitOfWork to T in method public createUnitOfWork(message Message<?>) : T in class org.axonframework.messaging.unitofwork.UnitOfWorkFactory | From | To | |
Rename Class | 1 | ||
Rename Class org.axonframework.messaging.unitofwork.UnitOfWorkListenerCollection renamed to org.axonframework.messaging.unitofwork.UnitOfWorkHandlerCollection | From | To | |
Extract Superclass | 1 | ||
Extract Superclass org.axonframework.messaging.unitofwork.AbstractUnitOfWorkFactory from classes [org.axonframework.messaging.unitofwork.DefaultUnitOfWorkFactory] | From | To | |
Rename Attribute | 3 | ||
Rename Attribute rollbackListeners : Deque<BiConsumer<UnitOfWork,Throwable>> to rollbackHandlers : Deque<BiConsumer<UnitOfWork,Throwable>> in class org.axonframework.messaging.unitofwork.UnitOfWorkHandlerCollection | From | To | |
Rename Attribute callbackOrderAsc : boolean to reverseCallbackOrder : boolean in class org.axonframework.messaging.unitofwork.UnitOfWork.Phase | From | To | |
Rename Attribute listeners : EnumMap<UnitOfWork.Phase,Deque<Consumer<UnitOfWork>>> to handlers : EnumMap<Phase,Deque<Consumer<UnitOfWork>>> in class org.axonframework.messaging.unitofwork.UnitOfWorkHandlerCollection | From | To | |
Change Variable Type | 2 | ||
Change Variable Type unitOfWork : UnitOfWork to unitOfWork : DefaultUnitOfWork in method public doCreateUnitOfWork(message Message<?>) : DefaultUnitOfWork in class org.axonframework.messaging.unitofwork.DefaultUnitOfWorkFactory | From | To | |
Change Variable Type phase : UnitOfWork.Phase to phase : Phase in method public invokeHandlers(unitOfWork UnitOfWork, phaseConsumer Consumer<Phase>, phases Phase...) : void in class org.axonframework.messaging.unitofwork.UnitOfWorkHandlerCollection | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type listeners : EnumMap<UnitOfWork.Phase,Deque<Consumer<UnitOfWork>>> to handlers : EnumMap<Phase,Deque<Consumer<UnitOfWork>>> in class org.axonframework.messaging.unitofwork.UnitOfWorkHandlerCollection | From | To | |
Change Attribute Type listeners : UnitOfWorkListenerCollection to listeners : UnitOfWorkHandlerCollection in class org.axonframework.messaging.unitofwork.AbstractUnitOfWork | From | To | |
Rename Parameter | 1 | ||
Rename Parameter callbackOrderAsc : boolean to reverseCallbackOrder : boolean in method package Phase(started boolean, reverseCallbackOrder boolean) in class org.axonframework.messaging.unitofwork.UnitOfWork.Phase | From | To |