9e2592468378e55556e28d643a6437322d35c480
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 7 | ||
Rename Method private terminated(from State) : void renamed to private enqueueTerminatedEvent(from State) : void in class com.google.common.util.concurrent.AbstractService | From | To | |
Rename Method private stoppingCallback(from State) : Callback<Listener> renamed to public toString() : String in class com.google.common.util.concurrent.AbstractService.stoppingEvent | From | To | |
Rename Method private failed(from State, cause Throwable) : void renamed to public toString() : String in class com.google.common.util.concurrent.AbstractService.enqueueFailedEvent.enqueue | From | To | |
Rename Method private countDownCallback(latch CountDownLatch) : Callback<Object> renamed to public toString() : String in class com.google.common.util.concurrent.ListenerCallQueueTest.countDownEvent | From | To | |
Rename Method private terminatedCallback(from State) : Callback<Listener> renamed to public toString() : String in class com.google.common.util.concurrent.AbstractService.terminatedEvent | From | To | |
Rename Method package ListenerCallQueue(listener L, executor Executor) renamed to public addListener(listener L, executor Executor) : void in class com.google.common.util.concurrent.ListenerCallQueue | From | To | |
Rename Method private stopping(from State) : void renamed to private enqueueStoppingEvent(from State) : void in class com.google.common.util.concurrent.AbstractService | From | To | |
Move And Rename Method | 1 | ||
Move And Rename Method package execute() : void from class com.google.common.util.concurrent.ListenerCallQueue to package dispatch() : void from class com.google.common.util.concurrent.ListenerCallQueue.PerListenerQueue | From | To | |
Move Method | 1 | ||
Move Method public run() : void from class com.google.common.util.concurrent.ListenerCallQueue to public run() : void from class com.google.common.util.concurrent.ListenerCallQueue.PerListenerQueue | From | To | |
Change Return Type | 4 | ||
Change Return Type void to String in method public toString() : String in class com.google.common.util.concurrent.AbstractService.enqueueFailedEvent.enqueue | From | To | |
Change Return Type Callback<Listener> to String in method public toString() : String in class com.google.common.util.concurrent.AbstractService.stoppingEvent | From | To | |
Change Return Type Callback<Listener> to String in method public toString() : String in class com.google.common.util.concurrent.AbstractService.terminatedEvent | From | To | |
Change Return Type Callback<Object> to String in method public toString() : String in class com.google.common.util.concurrent.ListenerCallQueueTest.countDownEvent | From | To | |
Move Attribute | 3 | ||
Move Attribute private isThreadScheduled : boolean from class com.google.common.util.concurrent.ListenerCallQueue to package isThreadScheduled : boolean from class com.google.common.util.concurrent.ListenerCallQueue.PerListenerQueue | From | To | |
Move Attribute private executor : Executor from class com.google.common.util.concurrent.ListenerCallQueue to package executor : Executor from class com.google.common.util.concurrent.ListenerCallQueue.PerListenerQueue | From | To | |
Move Attribute private listener : L from class com.google.common.util.concurrent.ListenerCallQueue to package listener : L from class com.google.common.util.concurrent.ListenerCallQueue.PerListenerQueue | From | To | |
Extract Class | 1 | ||
Extract Class com.google.common.util.concurrent.ListenerCallQueue.PerListenerQueue from class com.google.common.util.concurrent.ListenerCallQueue | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type listeners : List<ListenerCallQueue<Listener>> to listeners : ListenerCallQueue<Listener> in class com.google.common.util.concurrent.AbstractService | From | To | |
Change Attribute Type listeners : List<ListenerCallQueue<Listener>> to listeners : ListenerCallQueue<Listener> in class com.google.common.util.concurrent.ServiceManager.ServiceManagerState | From | To |